目錄(98章)
倒序
- 封面
- 版權信息
- 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 on 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
- Introducing optionals
- 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
- Curried functions
- Summary
- Chapter 6. Make Swift Work for You – Protocols and Generics
- Protocols
- Defining a generic
- Extending the existing generics
- Putting protocols and generics to use
- Summary
- Chapter 7. Everything is Connected – Memory Management
- How data is stored in a computer
- Value types versus reference types
- Automatic reference counting
- Strong reference cycles
- Lost objects
- Summary
- Chapter 8. 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 9. Harnessing the Past – Understanding and Translating Objective-C
- Swift's relationship with Objective-C
- The history of Objective-C
- Constants and variables
- Containers
- Control flow
- Functions
- Types
- Projects
- Calling Objective-C code from Swift
- Using functions
- Summary
- Chapter 10. 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 11. What's Next? Resources Advice and Next Steps
- Apple's documentation
- Forums and blogs
- Prominent figures
- Podcasts
- Summary
- Index 更新時間:2021-07-16 13:54:25
推薦閱讀
- 程序員面試白皮書
- Kubernetes實戰
- Network Automation Cookbook
- Expert Data Visualization
- Jupyter數據科學實戰
- Building Android UIs with Custom Views
- Microsoft Azure Storage Essentials
- Image Processing with ImageJ
- 深入實踐DDD:以DSL驅動復雜軟件開發
- PhoneGap 4 Mobile Application Development Cookbook
- Java程序設計教程
- Visual C++開發寶典
- 系統分析師UML用例實戰
- Neo4j High Performance
- Modern R Programming Cookbook
- 15天學會JavaScript(視頻教學版)
- Node.js入門指南
- Mastering PostCSS for Web Design
- Learning Unity iOS Game Development
- Scratch 3.0 趣圖探秘
- 敏捷開發的藝術
- Mastering Redmine
- C語言項目式系統開發教程(微課版)
- Mastering Apache Spark
- Introducing Microsoft SQL Server 2019
- 圖解網絡硬件
- SproutCore Web Application Development
- PHP從入門到精通(第5版)
- INSTANT PostgreSQL Starter
- 狼書(卷3):Node.js高級技術