Mastering Swift 5.3 - Sixth Edition: Upgrade your knowledge and become an expert in the latest version of the Swift programming language

Hoffman, Jon

  • 出版商: Packt Publishing
  • 出版日期: 2020-11-23
  • 售價: $1,540
  • 貴賓價: 9.5$1,463
  • 語言: 英文
  • 頁數: 418
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800562152
  • ISBN-13: 9781800562158
  • 相關分類: Apple Developer
  • 立即出貨 (庫存=1)

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

商品描述

A comprehensive guide for programming enthusiasts who wish to gain a firm command of the fundamentals and advanced Swift concepts

 

Key features

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

 

Book Description

Over the years, Mastering Swift has proven itself among developers as a popular choice for an in-depth and practical guide to the Swift programming language. This sixth edition comes with the latest features, an overall revision to align with Swift 5.3, and two new chapters on building swift from source and advance operators.

From the basics of the language to popular features such as concurrency, generics, and memory management, this in-depth guide will help you develop your expertise and mastery of the language.

As you progress, you will gain practical insights into some of the most sophisticated elements in Swift development, including protocol extensions, error handling, and closures. The book will also show you how to use and apply them in your own projects. In later chapters, you will understand how to use the power of protocol-oriented programming to write flexible and easier-to-manage code in Swift. Finally, you will learn how to add the copy-on-write feature to your custom value types, along with understanding how to avoid memory management issues caused by strong reference cycles.

By the end of this swift book, you will have mastered the Swift 5.3 language and developed the skills you need to effectively use its features to build robust applications.

 

What you will learn

  • Understand core Swift components, such as operators, collections, control flows, and functions
  • Identify how and when to use classes, structures, and enumerations
  • Use protocol-oriented design with extensions to write easier-to-manage code
  • Leverage design patterns with Swift to solve commonly occurring design problems
  • Apply copy-on-write for your 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

 

Who this book is for

This book is for beginners with a basic understanding of programming and experienced developers looking to learn Swift programming. Familiarity with Apple's tools will be beneficial but not mandatory. All examples should also work on the Linux and Windows platforms

商品描述(中文翻譯)

《精通 Swift》是一本深入且實用的指南,適合程式愛好者學習並掌握 Swift 程式語言的基礎和高級概念。

主要特點包括:
- 第六版的暢銷書籍,已改進並更新至最新的 Swift 5.3 版本
- 掌握流行且現代的設計技巧,撰寫易於管理的 Swift 程式碼
- 在程式碼中使用核心 Swift 功能,如並行性、泛型和寫時複製

書籍描述:
多年來,《精通 Swift》已被開發人員廣泛選擇作為深入且實用的 Swift 程式語言指南。這本第六版書籍包含最新功能,整體修訂以符合 Swift 5.3,並新增了兩個章節,介紹如何從源碼構建 Swift 和高級運算子。

從語言基礎到並行性、泛型和記憶體管理等熱門功能,這本深入指南將幫助您發展對語言的專業知識和掌握程度。

隨著學習的進展,您將獲得有關 Swift 開發中一些最複雜元素的實用見解,包括協議擴展、錯誤處理和閉包。本書還將向您展示如何在自己的專案中使用和應用這些功能。在後續章節中,您將了解如何使用面向協議的編程的威力,在 Swift 中撰寫靈活且易於管理的程式碼。最後,您將學習如何為自定義值類型添加寫時複製功能,以及如何避免強引用循環引起的記憶體管理問題。

通過閱讀本書,您將精通 Swift 5.3 語言,並掌握使用其功能構建強大應用程式所需的技能。

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

適合閱讀對象:
本書適合具備基本程式設計理解的初學者和有經驗的開發人員學習 Swift 程式語言。熟悉蘋果工具將有所幫助,但不是必需的。所有範例也適用於 Linux 和 Windows 平台。

作者簡介

Jon Hoffman has over 25 years of experience in the field of information technology. He has worked in the areas of system administration, network administration, network security, application development, and architecture. Currently, Jon works as an Enterprise Software Manager for Syn-Tech Systems.

Jon has an extensive iOS development experience and he has been involved in various projects since 2008. This includes several apps that he has published in the App Store, apps that he has written for third parties, and numerous enterprise applications. He has also developed mobile applications for the Android and Windows platforms.

作者簡介(中文翻譯)

Jon Hoffman在資訊科技領域擁有超過25年的經驗。他曾在系統管理、網路管理、網路安全、應用程式開發和架構等領域工作。目前,Jon在Syn-Tech Systems擔任企業軟體經理。

Jon在iOS開發方面擁有豐富的經驗,自2008年以來參與了多個項目。這包括他在App Store上發布的幾個應用程式,他為第三方編寫的應用程式以及眾多企業應用程式。他還開發了Android和Windows平台的移動應用程式。

目錄大綱

  1. Taking the First Steps with Swift
  2. Swift Documentation and Installing Swift
  3. Learning about Variables, Constants, Strings, and Operators
  4. Optional Types
  5. Using Swift Collections
  6. Control Flow
  7. Functions
  8. Classes, Structures, and Protocols
  9. Protocols and Protocol Extensions
  10. Protocol-Oriented Design
  11. Generics
  12. Error Handling and Availability
  13. Custom Subscripting
  14. Working with Closures
  15. Advanced and Custom Operators
  16. Concurrency and Parallelism in Swift
  17. Custom Value Types
  18. Memory Management
  19. Swift Formatting and Style Guide
  20. Adopting Design Patterns in Swift

目錄大綱(中文翻譯)

- 使用 Swift 的第一步
- Swift 文件和安裝 Swift
- 學習變數、常數、字串和運算符
- 可選型別
- 使用 Swift 集合
- 控制流程
- 函式
- 類別、結構和協議
- 協議和協議擴展
- 基於協議的設計
- 泛型
- 錯誤處理和可用性
- 自訂下標
- 使用閉包
- 高級和自訂運算符
- Swift 中的並行和平行處理
- 自訂值型別
- 記憶體管理
- Swift 格式和風格指南
- 在 Swift 中採用設計模式