Sams Teach Yourself Swift in 24 Hours, 2/e (Paperback)
暫譯: Sams 24小時自學Swift(第二版)

BJ Miller

  • 出版商: SAMS
  • 出版日期: 2015-12-02
  • 售價: $1,225
  • 貴賓價: 9.5$1,164
  • 語言: 英文
  • 頁數: 464
  • 裝訂: Paperback
  • ISBN: 0672337657
  • ISBN-13: 9780672337659
  • 相關分類: Apple Developer
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

In just 24 lessons of one hour or less, Sams Teach Yourself Swift in 24 Hours, Second Edition, will teach you how to build next-generation OS X and iOS apps with Apple’s Swift 2 programming language. This book’s straightforward, step-by-step approach helps you quickly master Swift 2’s core concepts, structure, and syntax and use Swift to write safe, powerful, modern code. In just a few hours you’ll be applying features such as extensions, closures, protocols, and generics. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.

Step-by-step instructions carefully walk you through the most common Swift 2 programming tasks.
Practical, hands-on examples show you how to apply what you learn.
Quizzes and exercises help you test your knowledge and stretch your skills.
Notes and tips point out shortcuts and solutions.

Learn how to...
  • Get started with Swift 2.0’s Xcode 7 development environment
  • Master Swift’s fundamental data types
  • Use operators to change, assign, combine, check, or verify values
  • Retain data and preferences in memory with arrays, sets, and dictionaries
  • Control program flow, modify execution paths, and iterate code
  • Perform complex actions concisely with Swift 2.0’s improved functions
  • Work with higher-order functions and closures
  • Harness the power of structs, enums, classes, and class inheritance
  • Take advantage of Swift’s advanced memory allocation and references
  • Use protocols to define behavior and explore Protocol-Oriented Programming
  • Add type functionality with extensions
  • Smoothly handle errors
  • Leverage the power of generics to create flexible and reusable code
  • Interoperate with Objective-C code
  • Get started with Functional Programming approaches and thinking functionally

商品描述(中文翻譯)

在短短24堂每堂一小時或更少的課程中,Sams Teach Yourself Swift in 24 Hours, Second Edition 將教你如何使用Apple的Swift 2程式語言來構建下一代OS X和iOS應用程式。本書的簡單明瞭、逐步的教學方法幫助你快速掌握Swift 2的核心概念、結構和語法,並使用Swift編寫安全、強大、現代的程式碼。在短短幾小時內,你將能夠應用擴展、閉包、協議和泛型等特性。每一課都建立在你已經學習的基礎上,為你在現實世界中的成功打下堅實的基礎。

逐步指導仔細引導你完成最常見的Swift 2程式設計任務。
實用的實作範例展示如何應用你所學的知識。
測驗和練習幫助你檢測知識並提升技能。
註解和提示指出捷徑和解決方案。

學習如何...

  • 開始使用Swift 2.0的Xcode 7開發環境
  • 掌握Swift的基本資料類型
  • 使用運算子來改變、指派、結合、檢查或驗證值
  • 使用陣列、集合和字典在記憶體中保留資料和偏好設定
  • 控制程式流程、修改執行路徑和迭代程式碼
  • 使用Swift 2.0改進的函數簡潔地執行複雜操作
  • 使用高階函數和閉包
  • 利用結構、列舉、類別和類別繼承的力量
  • 利用Swift的先進記憶體分配和引用
  • 使用協議來定義行為並探索協議導向程式設計
  • 使用擴展來增加類型功能
  • 順利處理錯誤
  • 利用泛型的力量創建靈活且可重用的程式碼
  • 與Objective-C程式碼互操作
  • 開始使用函數式程式設計方法並以函數式思考