目錄(98章)
倒序
- 封面
- 版權(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 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
推薦閱讀
- 解構(gòu)產(chǎn)品經(jīng)理:互聯(lián)網(wǎng)產(chǎn)品策劃入門寶典
- Oracle 12c中文版數(shù)據(jù)庫管理、應用與開發(fā)實踐教程 (清華電腦學堂)
- Java開發(fā)入行真功夫
- 精通Scrapy網(wǎng)絡爬蟲
- iOS自動化測試實戰(zhàn):基于Appium、Python與Pytest
- Canvas Cookbook
- Hands-On Neural Network Programming with C#
- Java Web從入門到精通(第2版)
- 進入IT企業(yè)必讀的324個Java面試題
- HTML5移動Web開發(fā)
- 征服C指針(第2版)
- Developing Java Applications with Spring and Spring Boot
- Java服務端研發(fā)知識圖譜
- Mastering ArcGIS Server Development with JavaScript
- Mathematica Data Visualization
- Mastering Wireless Penetration Testing for Highly Secured Environments
- Python編程基礎
- Java語言程序設計與實現(xiàn)(微課版)
- ASP.NET程序開發(fā)參考手冊
- 基于Kubernetes的容器云平臺實戰(zhàn)
- 你不知道的JavaScript(下卷)
- 從零開始:HTML5+CSS3快速入門教程
- Mastering the C++17 STL
- Introducing Microsoft SQL Server 2019
- Object–Oriented Programming with Swift 2
- PHP 7從入門到精通(視頻教學版)
- OpenCV 4 with Python Blueprints
- Hands-On Computer Vision with Julia
- Gambas高級程序設計:基于國產(chǎn)操作系統(tǒng)
- 軟件是這樣“煉”成的:Java學習全演練