Mastering Swift 5 (精通 Swift 5)

Hoffman, Jon

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

相關主題

商品描述

Harness the power of the latest edition with this in-depth and comprehensive guide to the Swift language

Key Features

  • Fifth edition of this bestselling book, improved and updated to cover the latest version of the Swift 5 programming language
  • Get to grips with popular and modern design techniques to write easy-to-manage Swift code
  • Learn how to use core Swift features such as concurrency, generics, and copy-on-write in your code
  •  

Book Description

Over the years, the Mastering Swift book has established itself amongst developers as a popular choice as an in-depth and practical guide to the Swift programming language. The latest edition is fully updated and revised to cover the new version: Swift 5.

Inside this book, you'll find the key features of Swift 5 easily explained with complete sets of examples. From the basics of the language to popular features such as concurrency, generics, and memory management, this definitive guide will help you develop your expertise and mastery of the Swift language.

Mastering Swift 5, Fifth Edition will give you an in-depth knowledge of some of the most sophisticated elements in Swift development, including protocol extensions, error handling, and closures. It will guide you on how to use and apply them in your own projects.

Later, you'll see how to leverage the power of protocol-oriented programming to write flexible and easier-to-manage code. You will also see how to add the copy-on-write feature to your custom value types and how to avoid memory management issues caused by strong reference cycles.

What you will learn

  • Understand core Swift components, including operators, collections, control flows, and functions
  • Learn how and when to use classes, structures, and enumerations
  • Understand how to use protocol-oriented design with extensions to write easier-to-manage code
  • Use design patterns with Swift, to solve commonly occurring design problems
  • Implement copy-on-write for you custom value types to improve performance
  • Add concurrency to your applications using Grand Central Dispatch and Operation Queues
  • Implement generics to write flexible and reusable code
  •  

商品描述(中文翻譯)

發揮最新版本的威力,這本深入且全面的指南將引導您掌握 Swift 語言。

主要特點:

- 這本暢銷書的第五版已經改進並更新,以涵蓋最新版本的 Swift 5 程式語言。
- 掌握流行且現代的設計技巧,撰寫易於管理的 Swift 程式碼。
- 學習如何在程式碼中使用核心 Swift 功能,例如並行處理、泛型和寫時複製。

書籍描述:

多年來,《精通 Swift》一書已成為開發者們對 Swift 程式語言的深入且實用指南的熱門選擇。最新版已完全更新和修訂,以涵蓋新版本:Swift 5。

在這本書中,您將輕鬆理解 Swift 5 的關鍵特性,並附有完整的範例。從語言的基礎知識到並行處理、泛型和記憶體管理等熱門功能,這本權威指南將幫助您發展對 Swift 語言的專業知識和掌握能力。

《精通 Swift 5,第五版》將讓您深入了解 Swift 開發中一些最複雜的元素,包括協議擴展、錯誤處理和閉包。它將指導您如何在自己的專案中使用和應用這些元素。

隨後,您將了解如何利用面向協議的編程的威力,撰寫靈活且易於管理的程式碼。您還將了解如何為自定義值類型添加寫時複製功能,以及如何避免強引用循環引起的記憶體管理問題。

您將學到的內容:

- 瞭解核心 Swift 元件,包括運算子、集合、控制流和函式。
- 學習何時以及如何使用類別、結構和列舉。
- 瞭解如何使用協議擴展進行面向協議的設計,撰寫更易於管理的程式碼。
- 使用 Swift 實現設計模式,解決常見的設計問題。
- 實現自定義值類型的寫時複製,以提升效能。
- 使用 Grand Central Dispatch 和 Operation Queues 為應用程式添加並行處理。
- 實現泛型,撰寫靈活且可重複使用的程式碼。