Sams Teach Yourself Swift in 24 Hours (Paperback) (24小時學會Swift)

BJ Miller

  • 出版商: SAMS
  • 出版日期: 2014-12-06
  • 定價: $1,225
  • 售價: 6.0$735
  • 語言: 英文
  • 頁數: 448
  • 裝訂: Paperback
  • ISBN: 067233724X
  • ISBN-13: 9780672337246
  • 相關分類: Apple Developer
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

In just 24 lessons of one hour or less, Sams Teach Yourself Swift in 24 Hours helps you build next-generation OS X and iOS apps with Apple’s new Swift programming language.

This book’s straightforward, step-by-step approach helps you quickly master Swift’s core concepts, structure, and syntax and use Swift to write safe, powerful, modern code. In just a few hours you’ll be applying advanced 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 development 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...
  • Set up your Swift development environment
  • Master Swift’s fundamental data types and operators
  • Make the most of arrays and dictionaries
  • Control program flow, modify execution paths, and iterate code
  • Perform complex actions with functions
  • Work with higher-order functions and closures
  • Harness the power of structs, enums, classes, and class inheritance
  • Customize initializers of classes, structs, and enums
  • Implement instance methods, type methods, and advanced type functionality
  • Take full advantage of Swift’s advanced memory allocation
  • Extend type functionality with protocols and extensions
  • Leverage the power of generics, chaining, and other advanced features
  • Interoperate with Objective-C code
  • Interact with user interfaces
  • Take advantage of Swift’s Standard Library features and functions

商品描述(中文翻譯)

在僅僅24個小時或更少的時間內,《Sams Teach Yourself Swift in 24 Hours》將幫助您使用蘋果的新程式語言Swift來建立下一代的OS X和iOS應用程式。

本書以直觀、逐步的方式,幫助您快速掌握Swift的核心概念、結構和語法,並使用Swift編寫安全、強大、現代化的程式碼。僅僅幾個小時內,您就能應用高級功能,如擴展、閉包、協議和泛型。每一課都建立在您已經學到的基礎上,為您在實際應用中打下堅實的基礎。

逐步指導仔細引導您完成最常見的Swift開發任務。
實用的實例展示如何應用所學知識。
測驗和練習幫助您測試知識並提升技能。
提示和技巧指出快捷方式和解決方案。

學習如何...
- 設置Swift開發環境
- 掌握Swift的基本數據類型和運算符
- 充分利用數組和字典
- 控制程式流程,修改執行路徑,並迭代程式碼
- 使用函數執行複雜操作
- 使用高階函數和閉包
- 利用結構、枚舉、類和類繼承的強大功能
- 自定義類、結構和枚舉的初始化方法
- 實現實例方法、類方法和高級類型功能
- 充分利用Swift的高級內存分配
- 通過協議和擴展擴展類型功能
- 利用泛型、鏈接和其他高級功能
- 與Objective-C代碼互操作
- 與用戶界面互動
- 充分利用Swift的標準庫功能和函數