Mastering Swift 4 Fourth Edition
暫譯: 精通 Swift 4 第四版

Jon Hoffman

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

相關主題

商品描述

Key Features

  • Discover the new features and improvements to Swift 4
  • Get to grips with advanced design patterns and techniques to write smarter, cleaner Swift code
  • Become a more fluent Swift developer and build powerful, impressive iOS, OS X and Linux applications.

Book Description

Swift is the definitive language of Apple development today. It's a vital part of any iOS and OS X developer's skillset, helping them to build the most impressive and popular apps on the App Store-the sort of apps that are essential to iPhone and iPad users every day. With version 4.0, the Swift team has added new features to improve the development experience-making it easier to get the results you want and customers expect.

Inside, you'll find the key features of Swift 4.0 and quickly learn how to use the newest updates to your development advantage. From Objective-C interoperability to ARC, to closures and concurrency, this advanced Swift guide will develop your expertise and make you more fluent in this vital programming language.

We give you in-depth knowledge of some of the most sophisticated elements of Swift development including protocol extensions, error-handling, design patterns, and concurrency, and guide you on how to use and apply them in your own projects. You'll see how to leverage the power of Protocol-Oriented program to write cleaner and easier to manage code. We will also show you how Apple uses Protocol-Oriented programming techniques in the Swift standard library.

What you will learn

  • Dive into the core components of Swift 4.0, including operators, collections, control flow, and functions
  • Create and use classes, structures, and enums
  • Understand protocol-oriented design and see how it can help you write better code
  • Develop a practical understanding of subscripts, optionals, and closures
  • Add concurrency to your applications using Grand Central Dispatch
  • Implement Generics and Closures to write very flexible and reusable codes
  • Make use of error handling and the new availability feature to write safer code

商品描述(中文翻譯)

關鍵特點

- 探索 Swift 4 的新功能和改進
- 熟悉進階設計模式和技術,以撰寫更智能、更乾淨的 Swift 代碼
- 成為更流利的 Swift 開發者,構建強大且令人印象深刻的 iOS、OS X 和 Linux 應用程式。

書籍描述

Swift 是當今 Apple 開發的定義性語言。它是任何 iOS 和 OS X 開發者技能組合中不可或缺的一部分,幫助他們構建最令人印象深刻和受歡迎的應用程式,這些應用程式是 iPhone 和 iPad 用戶每天所需的。隨著 4.0 版本的推出,Swift 團隊新增了功能,以改善開發體驗,使您更容易獲得所需的結果和客戶的期望。

在本書中,您將找到 Swift 4.0 的關鍵特點,並迅速學會如何利用最新的更新來提升您的開發優勢。從 Objective-C 互操作性到 ARC,再到閉包和並發,這本進階的 Swift 指南將提升您的專業知識,讓您在這個重要的程式語言中更加流利。

我們將深入介紹 Swift 開發中一些最複雜的元素,包括協議擴展、錯誤處理、設計模式和並發,並指導您如何在自己的專案中使用和應用它們。您將看到如何利用協議導向程式設計的力量來撰寫更乾淨且易於管理的代碼。我們還將展示 Apple 如何在 Swift 標準庫中使用協議導向程式設計技術。

您將學到的內容

- 深入了解 Swift 4.0 的核心組件,包括運算子、集合、控制流程和函數
- 創建和使用類別、結構和列舉
- 理解協議導向設計,並了解它如何幫助您撰寫更好的代碼
- 發展對下標、可選型和閉包的實用理解
- 使用 Grand Central Dispatch 為您的應用程式添加並發
- 實現泛型和閉包,以撰寫非常靈活和可重用的代碼
- 利用錯誤處理和新的可用性功能來撰寫更安全的代碼