Beginning Swift: Master the fundamentals of programming in Swift 4 (Swift 入門:掌握 Swift 4 程式設計基礎)
Rob Kerr, Kare Morstol
- 出版商: Packt Publishing
- 出版日期: 2018-05-31
- 售價: $1,240
- 貴賓價: 9.5 折 $1,178
- 語言: 英文
- 頁數: 202
- 裝訂: Paperback
- ISBN: 1789534313
- ISBN-13: 9781789534313
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
相關主題
商品描述
Master the fundamentals of programming in Swift 4
Key Features
- Covers theory and practice in equal parts
- Teaches you how to correctly structure and architect software using Swift
- Uses real-world examples to connect the theory to a professional setting
- Imparts expertise in the core Swift standard library
Book Description
Take your first foray into programming for Apple devices with Swift.
Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to become productive.
This course helps you develop client-side and server-side applications, as well as web services using Swift. We'll begin with exploring the fundamental Swift programming concepts, language structure, and the Swift programming syntax. Then, we'll learn to create original custom operators with Swift operators, branching, and loops.
Moving on, we'll learn how to run application codes and compile errors. Having made progress with it, we'll see how Swift compares to other computer languages and how to transform your thinking. Then, master the usage of key language elements, such as strings and collections. Finally, grasp how Swift supports modern application development using advanced features, such as built-in Unicode support and higher-order functions.
This is an introductory course to the Swift programming language with Xcode.After completing this course, students will be well-prepared to begin developing native end-user applications for iOS or macOS, or to develop server-side (back-end) application and web services using Swift on Linux.
What you will learn
- Explore the fundamental Swift programming concepts, language structure, and the Swift programming syntax
- Learn how Swift compares to other computer languages and how to transform your thinking to leverage new concepts such as optionals and protocols
- Master how to use key language elements, such as strings and collections
- Grasp how Swift supports modern application development using advanced features, such as built-in Unicode support and higher-order functions.
Who This Book Is For
If you are seeking fundamental Swift programming skills, in preparation for learning to develop native applications for iOS or macOS, this book is the best for you. You don't need to have any prior Swift knowledge; however, object-oriented programming experience is desired.
Table of Contents
- Swift basics
- Swift Operators and Control Flow
- Functions, Classes, and Structs
- Collections
- Strings
- Functional Programming and Lazy Operations
商品描述(中文翻譯)
掌握 Swift 4 程式設計的基本原理
主要特色
- 理論與實務並重
- 教你如何正確地結構化和架構使用 Swift 的軟體
- 使用真實世界的範例將理論與專業環境連結
- 傳授核心 Swift 標準庫的專業知識
書籍描述
透過 Swift 開始你的 Apple 設備程式設計之旅。
Swift 與 Objective-C 根本不同,因為它是一種以協議為導向的語言。雖然你仍然可以在 Swift 中撰寫正常的物件導向程式碼,但要充分利用其強大功能,則需要一種新的思維方式,以及對基本概念的扎實理解,以便提高生產力。
本課程幫助你使用 Swift 開發客戶端和伺服器端應用程式,以及網路服務。我們將從探索基本的 Swift 程式設計概念、語言結構和 Swift 程式語法開始。接著,我們將學習如何使用 Swift 運算子創建自定義運算子、分支和迴圈。
接下來,我們將學習如何執行應用程式代碼和編譯錯誤。在取得進展後,我們將了解 Swift 與其他程式語言的比較,以及如何轉變思維。然後,掌握關鍵語言元素的使用,例如字串和集合。最後,了解 Swift 如何利用內建的 Unicode 支援和高階函數等先進功能來支援現代應用程式開發。
這是一門針對 Swift 程式語言的入門課程,使用 Xcode。完成本課程後,學生將為開發 iOS 或 macOS 的原生終端用戶應用程式,或在 Linux 上使用 Swift 開發伺服器端(後端)應用程式和網路服務做好充分準備。
你將學到的內容
- 探索基本的 Swift 程式設計概念、語言結構和 Swift 程式語法
- 了解 Swift 與其他程式語言的比較,以及如何轉變思維以利用選擇性和協議等新概念
- 精通如何使用關鍵語言元素,例如字串和集合
- 理解 Swift 如何利用內建的 Unicode 支援和高階函數等先進功能來支援現代應用程式開發
本書適合對象
如果你正在尋求基本的 Swift 程式設計技能,以準備學習開發 iOS 或 macOS 的原生應用程式,這本書最適合你。你不需要具備任何先前的 Swift 知識;然而,具備物件導向程式設計經驗是理想的。
目錄
1. Swift 基礎
2. Swift 運算子與控制流程
3. 函數、類別與結構
4. 集合
5. 字串
6. 函數式程式設計與延遲操作