目錄(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
推薦閱讀
- Modular Programming with Python
- Oracle Exadata性能優化
- 零起步玩轉掌控板與Mind+
- 零基礎玩轉區塊鏈
- Learning RabbitMQ
- PostgreSQL技術內幕:事務處理深度探索
- Mastering Swift 2
- Learning Three.js:The JavaScript 3D Library for WebGL
- Elasticsearch Server(Third Edition)
- Citrix XenServer企業運維實戰
- Python預測分析與機器學習
- 寫給青少年的人工智能(Python版·微課視頻版)
- Java高手是怎樣煉成的:原理、方法與實踐
- Getting Started with JUCE
- Developing Java Applications with Spring and Spring Boot
- Learning Zimbra Server Essentials
- Building Scalable Apps with Redis and Node.js
- ACE技術內幕:深入解析ACE架構設計與實現原理
- Mastering Rust
- Effective DevOps with AWS
- ASP.NET Core 1.0 High Performance
- VMware vRealize Operations Essentials
- 深度學習入門:基于PyTorch和TensorFlow的理論與實現
- Cross-platform UI Development with Xamarin.Forms
- 大學計算機應用基礎
- AMD FPGA設計優化寶典:面向Vivado/VHDL
- Learning Shell Scripting with Zsh
- Reactive Programming with Swift 4
- Microsoft Dynamics CRM 2011 Reporting
- C++程序設計:思想與方法 慕課版(第3版)