Swift Cookbook.: Over 60 proven recipes for developing better iOS applications with Swift 5.3

Moon, Keith, Barker, Chris

  • 出版商: Packt Publishing
  • 出版日期: 2021-02-26
  • 售價: $1,350
  • 貴賓價: 9.5$1,283
  • 語言: 英文
  • 頁數: 500
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1839211199
  • ISBN-13: 9781839211195
  • 相關分類: Apple Developer
  • 立即出貨 (庫存=1)

商品描述

Discover recipes for building feature-rich, reliable iOS native apps and explore the latest features in Swift 5.3 with the help of proven industry standard recipes, modern design techniques, and popular strategies


Key Features:

  • Learn Swift 5.3 programming techniques to write robust and efficient code
  • Discover the fundamentals of Swift and build apps with frameworks such as Foundation, Networking, and UIKit
  • Get to grips with the new features of Swift 5.3, including SwiftUI, CoreML and the Vision Framework


Book Description:

Swift is an exciting, multi-platform, general-purpose programming language, and with this book, you'll explore the features of its latest version, Swift 5.3.


The book begins with an introduction to the basic building blocks of Swift 5.3, its syntax, and the functionalities of Swift constructs. You'll then discover how Swift Playgrounds provide an ideal platform to write, execute, and debug your Swift code. As you advance through the chapters, the book will show you how to bundle variables into tuples or sets, order your data with an array, store key-value pairs with dictionaries, and use property observers. You'll also get to grips with the decision-making and control structures in Swift, examine advanced features such as generics and operators, and explore functionalities outside of the standard library. Once you've learned how to build iOS applications using UIKit, you'll find out how to use Swift for server-side programming, run Swift on Linux, and investigate Vapor. Finally, you'll discover some of the newest features of Swift 5.3 using SwiftUI and Combine to build adaptive and reactive applications, and find out how to use Swift to build and integrate machine learning models along with Apple's Vision Framework.


By the end of this Swift book, you'll have discovered solutions to boost your productivity while developing code using Swift 5.3.


What You Will Learn:

  • Explore basic to advanced concepts in Swift 5.3 programming
  • Understand conditional statements, loops, and how to handle errors in Swift
  • Define flexible classes and structs using generics
  • Use advanced operators and create custom ones
  • Build iOS apps using the powerful features of UIKit or the new SwiftUI framework
  • Import your own custom functionality into Swift Playgrounds
  • Run Swift on Linux and investigate server-side programming with the server-side framework Vapor
  • Use Swift to implement machine learning models using CoreML and Vision


Who this book is for:

If you are looking to learn about the diverse features offered by Swift 5.3, along with tips and tricks to efficiently code and build applications, then this Swift book is for you. Knowledge of general programming concepts will assist in understanding key concepts.

商品描述(中文翻譯)

探索建立功能豐富、可靠的 iOS 原生應用程式的配方,並透過經過驗證的行業標準配方、現代設計技術和流行策略,探索 Swift 5.3 的最新功能。

主要特點:
- 學習 Swift 5.3 編程技術,撰寫堅固高效的程式碼
- 探索 Swift 的基礎知識,並使用 Foundation、Networking 和 UIKit 等框架建立應用程式
- 熟悉 Swift 5.3 的新功能,包括 SwiftUI、CoreML 和 Vision Framework

書籍描述:
Swift 是一種令人興奮的多平台通用程式語言,透過本書,您將探索其最新版本 Swift 5.3 的功能。

本書首先介紹 Swift 5.3 的基本構建塊、語法和 Swift 構造的功能。接著,您將了解 Swift Playgrounds 提供的理想平台,用於編寫、執行和調試 Swift 程式碼。隨著章節的進展,本書將向您展示如何將變數打包成元組或集合,使用陣列對數據進行排序,使用字典存儲鍵值對,以及使用屬性觀察器。您還將熟悉 Swift 中的決策和控制結構,研究泛型和運算符等高級功能,並探索標準庫以外的功能。在學習如何使用 UIKit 構建 iOS 應用程式後,您將了解如何使用 Swift 進行伺服器端編程,運行 Swift 在 Linux 上,並研究 Vapor。最後,您將使用 SwiftUI 和 Combine 來探索 Swift 5.3 的一些最新功能,以構建適應性和反應式應用程式,並了解如何使用 Swift 構建和整合機器學習模型,以及 Apple 的 Vision Framework。

通過閱讀本書,您將發現提高開發 Swift 5.3 程式碼效率的解決方案。

您將學到什麼:
- 探索 Swift 5.3 編程的基本和高級概念
- 理解條件語句、迴圈以及如何處理 Swift 中的錯誤
- 使用泛型定義靈活的類和結構
- 使用高級運算符並創建自定義運算符
- 使用 UIKit 或新的 SwiftUI 框架建立 iOS 應用程式的強大功能
- 將自己的自定義功能導入 Swift Playgrounds
- 在 Linux 上運行 Swift 並研究伺服器端編程與伺服器端框架 Vapor
- 使用 Swift 實現 CoreML 和 Vision 來實現機器學習模型

本書適合對 Swift 5.3 的多樣功能感興趣,並希望獲得編寫程式碼和構建應用程式的技巧和技巧的讀者。對一般程式設計概念的了解將有助於理解關鍵概念。