目錄(104章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- Chapter 1. Introducing Swift
- Defining our goals for this book
- Setting up the development environment
- Running our first swift code
- Understanding playgrounds
- Learning with this book
- Summary
- Chapter 2. Building Blocks – Variables Collections and Flow Control
- Core Swift types
- Swift's type system
- Printing to the console
- Control flow
- Functions
- Bringing it all together
- Summary
- Chapter 3. One Piece at a Time – Types Scopes and Projects
- Structs
- Classes
- Enumerations
- Projects
- Extensions
- Scope
- Access control
- Summary
- Chapter 4. To Be or Not To Be – Optionals
- Defining an optional
- Unwrapping an optional
- Optional chaining
- Implicitly unwrapped optionals
- Debugging optionals
- The underlying implementation
- Summary
- Chapter 5. A Modern Paradigm – Closures and Functional Programming
- Functional programming philosophy
- Closures
- Building blocks of functional programming in Swift
- Lazy evaluation
- Example
- Summary
- Chapter 6. Make Swift Work For You – Protocols and Generics
- Protocols
- Generics
- Extending generics
- Putting protocols and generics to use
- Summary
- Chapter 7. Everything Is Connected – Memory Management
- Computer data storage
- Value types versus reference types
- Automatic reference counting
- Strong reference cycles
- Lost objects
- Structures versus classes
- Summary
- Chapter 8. Paths Less Traveled – Error Handling
- Throwing errors
- Handling errors
- Cleaning up in error situations
- Summary
- Chapter 9. Writing Code the Swift Way – Design Patterns and Techniques
- What is a design pattern?
- Behavioral patterns
- Structural patterns
- Creational patterns
- Using associated values effectively
- Extending system types to reduce code
- Lazy properties
- Summary
- Chapter 10. Harnessing the Past – Understanding and Translating Objective-C
- Swift's relationship to Objective-C
- Background of Objective-C
- Constants and variables
- Containers
- Control flow
- Functions
- Types
- Projects
- Calling Objective-C code from Swift
- Using functions
- Summary
- Chapter 11. A Whole New World – Developing an App
- Conceptualizing the app
- Setting up the app project
- Configuring the user interface
- Running the app
- Allowing picture taking
- Temporarily saving a photo
- Populating our photo grid
- Refactoring to respect model-view-controller
- Permanently saving a photo
- Summary
- Chapter 12. What's Next? – Resources Advice and the Next Steps
- Apple's documentation
- Forums and blogs
- Prominent figures
- Podcasts
- Summary
- Index 更新時間:2021-07-16 12:33:23
推薦閱讀
- MERN Quick Start Guide
- Spring Cloud微服務架構進階
- 正在爆發的互聯網革命
- 城市治理一網統管
- Spring 5.0 Projects
- 網絡基礎與網絡管理項目化教程
- INSTANT KineticJS Starter
- 6G:面向2030年的移動通信
- 物聯網頂層設計與關鍵技術
- Getting Started with nopCommerce
- 世界互聯網發展報告2021
- 物聯網與智慧廣電
- ReasonML Quick Start Guide
- 互聯網心理學:新心理與行為研究的興起
- 深入淺出計算機網絡
- 物聯網與智能制造
- Internet應用技術立體化教程
- 華為HCIP路由與交換技術實戰
- CTO說
- 計算機網絡應用基礎(第3版)
- 新編計算機網絡
- 揭秘:物聯網原理、實踐與解決方案 (清華開發者書庫)
- 廣域網架構與路由技術項目教程
- VMware vSphere企業運維實戰
- Building Serverless Python Web Services with Zappa
- HarmonyOS IoT設備開發實戰
- 世界互聯網發展報告2020
- Implementing Microsoft Dynamics AX 2012 with Sure Step 2012
- SPN/MTN:使能5G切片網絡
- 網絡信息安全實訓