Mastering Swift
暫譯: 精通 Swift

Jon Hoffman

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-30
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 380
  • 裝訂: Paperback
  • ISBN: 1784392154
  • ISBN-13: 9781784392154
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Master Apple's new Swift programming language by following the best practices to write efficient and powerful code

About This Book

  • Start with basic language features and progressively move to more advanced features
  • Learn to use Xcode's new Playground feature as you work through the immense number of examples in the book
  • Learn what makes development with Swift so exiting and also get pointers on pitfalls to avoid

Who This Book Is For

If you are a developer that learns best by looking at, and working with, code, then this book is for you. A basic understanding of Apple's tools is beneficial but not mandatory.

What You Will Learn

  • Prototype and test code in a Playground
  • Understand the basics of Swift, including operators, collections, control flows, and functions
  • Create and use Classes, Structures, and Enums, including object-oriented topics such as inheritance, protocols, and Extensions
  • Dwell into Subscripts, Optionals, and closures with real-world scenarios
  • Employ Grand Central Dispatch to add concurrency to your applications
  • Study the Objective-C interoperability with mix and match
  • Access network resources using Swift
  • Implement various standard design patterns in the Swift language

In Detail

Swift is Apple's new innovative and user-friendly development language, which is packed with modern features to make programming easier, fun, and flexible.

This book begins by giving you a solid Introduction to the Swift programming language so you can quickly begin developing applications using this interesting language. It also covers advanced topics such as Objective-C interoperability, ARC, closures, and concurrency. Each concept covered is backed up with example code and demonstrates how to properly execute it. Next, you will be taught about all of the advanced features of Swift, and its interaction with Apple's APIs and libraries. You'll then learn to interact with REST-based web services using Swift. We will conclude the book by getting equipped to design and build applications using established design patterns.

商品描述(中文翻譯)

**掌握蘋果的新 Swift 程式語言,遵循最佳實踐來撰寫高效且強大的程式碼**

## 本書介紹
- 從基本語言特性開始,逐步進入更高級的特性
- 在書中通過大量範例學習如何使用 Xcode 的新 Playground 功能
- 瞭解使用 Swift 開發的興奮之處,並獲得避免陷阱的建議

## 本書適合誰
如果您是一位通過查看和操作程式碼來學習的開發者,那麼這本書適合您。對蘋果工具的基本理解是有益的,但不是必須的。

## 您將學到什麼
- 在 Playground 中原型設計和測試程式碼
- 理解 Swift 的基本概念,包括運算符、集合、控制流程和函數
- 創建和使用類別、結構和列舉,包括面向物件的主題,如繼承、協議和擴展
- 透過實際情境深入了解下標、可選型和閉包
- 使用 Grand Central Dispatch 為您的應用程式添加並發性
- 研究 Objective-C 的互操作性,進行混合搭配
- 使用 Swift 訪問網路資源
- 在 Swift 語言中實現各種標準設計模式

## 詳細內容
Swift 是蘋果全新創新且使用者友好的開發語言,擁有現代化的特性,使程式設計變得更簡單、有趣且靈活。

本書首先為您提供 Swift 程式語言的堅實介紹,讓您能夠快速開始使用這種有趣的語言開發應用程式。它還涵蓋了高級主題,如 Objective-C 互操作性、ARC、閉包和並發。每個涵蓋的概念都有範例程式碼支持,並展示如何正確執行。接下來,您將學習 Swift 的所有高級特性及其與蘋果 API 和庫的互動。然後,您將學習如何使用 Swift 與基於 REST 的網路服務互動。我們將通過學習設計和構建使用已建立設計模式的應用程式來結束本書。