Mastering Swift 2

Jon Hoffman

  • 出版商: Packt Publishing
  • 出版日期: 2015-11-04
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 395
  • 裝訂: Paperback
  • ISBN: 1785886037
  • ISBN-13: 9781785886034
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Dive into the latest release of the Swift programming language with this advanced Apple development book for creating exceptional iOS and osX applications

About This Book

  • Harness the latest and most advanced features of Swift 2 to develop quality iOS and OSX applications
  • Comprehensive coverage of all the advanced features of Swift and guidance on advanced design techniques
  • Dive deep into protocol extensions, learn new error handling model, and use featured Swift design patterns to write more efficient code

Who This Book Is For

This book is for developers that want to dive into the newest version of Swift. If you want in-depth knowledge of some of the most sophisticated elements of Swift development including protocol extensions, error-handling, design patterns, and concurrency, Mastering Swift 2 gives you guidance on how to use and apply them in your own projects.

What You Will Learn

  • Dive into the core components of Swift 2 including operators, collections, control flow, and functions
  • Create and use classes, structures, and enums including object-oriented topics such as inheritance, protocols, and extensions
  • Develop a practical understanding of subscripts, optionals, and closures
  • Learn how to use the new protocol extension and error handling features of Swift 2
  • Add concurrency to your applications using Grand Central Dispatch
  • Master Objective-C interoperability with Mix and Match
  • Access network resources using Swift
  • Implement various standard design patterns in the Swift language

In Detail

At their Worldwide Developer's conference (WWDC) in 2015, Apple announced Swift 2, a major update to the innovative programming language they first unveiled to the world the year before. Swift 2 features exciting enhancements to the original iteration of Swift, acting, as Apple put it themselves as “a successor to the C and Objective-C languages.” – This book demonstrates how to get the most from these new features, and gives you the skills and knowledge you need to develop dynamic iOS and OS X applications.

Learn how to harness the newest features of Swift 2 todevelop advanced applications on a wide range of platforms with this cutting-edge development guide. Exploring and demonstrating how to tackle advanced topics such as Objective-C interoperability, ARC, closures, and concurrency, you'll develop your Swift expertise and become even more fluent in this vital and innovative language. With examples that demonstrate how to put the concepts into practice, and design patterns and best practices, you'll be writing better iOS and OSX applications in with a new level of sophistication and control.

Style and approach

This book takes an example-based approach where each concept covered is supported by example code to not only give you a good understanding of the concept, but also to demonstrate how to properly implement it.

商品描述(中文翻譯)

深入探索 Swift 程式語言的最新版本,這本進階的 Apple 開發書籍將幫助您創建卓越的 iOS 和 OS X 應用程式。

關於本書
- 利用 Swift 2 的最新和最先進功能來開發高品質的 iOS 和 OS X 應用程式
- 全面涵蓋 Swift 的所有進階功能,並提供進階設計技術的指導
- 深入了解協定擴展,學習新的錯誤處理模型,並使用特色的 Swift 設計模式來撰寫更有效率的程式碼

本書適合誰
本書適合希望深入了解最新版本 Swift 的開發者。如果您想獲得有關 Swift 開發中一些最複雜元素的深入知識,包括協定擴展、錯誤處理、設計模式和併發,Mastering Swift 2 將指導您如何在自己的專案中使用和應用這些技術。

您將學到什麼
- 深入了解 Swift 2 的核心組件,包括運算子、集合、控制流程和函數
- 創建和使用類別、結構和列舉,包括物件導向主題如繼承、協定和擴展
- 發展對下標、可選型別和閉包的實用理解
- 學習如何使用 Swift 2 的新協定擴展和錯誤處理功能
- 使用 Grand Central Dispatch 為您的應用程式添加併發
- 精通 Objective-C 的互操作性
- 使用 Swift 訪問網路資源
- 在 Swift 語言中實現各種標準設計模式

詳細內容
在 2015 年的全球開發者大會 (WWDC) 上,Apple 宣布了 Swift 2,這是對他們在前一年首次向世界展示的創新程式語言的重大更新。Swift 2 對原始版本的 Swift 進行了令人興奮的增強,正如 Apple 自己所說,它是「C 和 Objective-C 語言的繼任者」。本書展示了如何充分利用這些新功能,並提供您開發動態 iOS 和 OS X 應用程式所需的技能和知識。

學習如何利用 Swift 2 的最新功能,在各種平台上開發進階應用程式,這本前沿的開發指南將幫助您探索和展示如何處理進階主題,如 Objective-C 互操作性、ARC、閉包和併發,您將提升 Swift 專業知識,並在這個重要且創新的語言中變得更加流利。透過示範如何將概念付諸實踐的範例,以及設計模式和最佳實踐,您將能以更高的複雜度和控制力撰寫更好的 iOS 和 OS X 應用程式。

風格與方法
本書採用基於範例的方法,每個涵蓋的概念都有範例程式碼支持,不僅讓您對該概念有良好的理解,還能展示如何正確實現它。