目錄(104章)
倒序
- 封面
- 版權(quán)信息
- 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 更新時(shí)間:2021-07-16 12:33:23
推薦閱讀
- 網(wǎng)絡(luò)云百問(wèn)百答
- 網(wǎng)管員典藏書架:網(wǎng)絡(luò)管理與運(yùn)維實(shí)戰(zhàn)寶典
- Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)
- 無(wú)人機(jī)通信
- 企業(yè)私有云建設(shè)指南
- 正在爆發(fā)的互聯(lián)網(wǎng)革命
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- Microservice Patterns and Best Practices
- 物聯(lián)網(wǎng)的機(jī)遇與利用
- Professional Scala
- 局域網(wǎng)組建與維護(hù)項(xiàng)目教程
- Alfresco Share
- 一本書讀懂24種互聯(lián)網(wǎng)思維
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)實(shí)用寶典(第3版)
- 網(wǎng)絡(luò)編碼應(yīng)用
- 結(jié)構(gòu)化決策力:成為你想成為的自己
- 5G物聯(lián)網(wǎng)端管云實(shí)戰(zhàn)
- Building Applications with Spring 5 and Kotlin
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告(2012)
- “IPv6+”網(wǎng)絡(luò)技術(shù)創(chuàng)新:構(gòu)筑數(shù)字經(jīng)濟(jì)發(fā)展基石
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告(2010)
- 物聯(lián)網(wǎng)+5G
- 網(wǎng)絡(luò)綜合布線技術(shù)(Vcom)(第2版)
- 中國(guó)物聯(lián)網(wǎng)產(chǎn)業(yè)發(fā)展概況
- 深入理解互聯(lián)網(wǎng)
- Adobe Flash CS4 ActionScript 3.0中文版經(jīng)典教程
- Learn Web Development with Python
- 中國(guó)互聯(lián)網(wǎng)發(fā)展報(bào)告2019
- 實(shí)施Cisco統(tǒng)一通信管理器(CIPT2)
- DEM插值算法適應(yīng)性理論與方法