目錄(117章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- Chapter 1. Taking the First Steps with Swift
- What is Swift?
- Playgrounds
- Swift language syntax
- Hello world
- Summary
- Chapter 2. Learning about Variables Constants Strings and Operators
- Constants and variables
- Defining constants and variables
- Numeric types
- The Boolean type
- The string type
- Optional variables
- Enumerations
- Operators
- Summary
- Chapter 3. Using Collections and Cocoa Data Types
- Swift collection types
- Mutability
- Arrays
- Dictionaries
- Tuples
- Using Cocoa data types
- Foundation data types
- Summary
- Chapter 4. Control Flow and Functions
- What we have learned so far
- Control flow
- Functions
- Summary
- Chapter 5. Classes and Structures
- What are classes and structures?
- Creating a class or structure
- Initializer
- Inheritance
- Overriding methods and properties
- Protocols
- Extensions
- Memory management
- Summary
- Chapter 6. Working with XML and JSON Data
- XML and JSON
- Common files
- XML and the NSXMLParser class
- Using the NSXMLParserDelegate protocol
- Parsing XML documents
- XML and manually building XML documents
- JSON and NSJSONSerialization
- Summary
- Chapter 7. Custom Subscripting
- Introducing subscripts
- Subscripts with Swift arrays
- Read and write custom subscripts
- Read only custom subscripts
- Calculated subscripts
- Subscript values
- Subscripts with ranges
- External names for subscripts
- Multidimensional subscripts
- When not to use a custom subscript
- Summary
- Chapter 8. Using Optional Type and Optional Chaining
- Introducing optionals
- The need for optional types in Swift
- Optional chaining
- Summary
- Chapter 9. Working with Generics
- Introduction to generics
- Generic functions
- Generic types
- Associated types
- Summary
- Chapter 10. Working with Closures
- Introducing closures
- Simple closures
- Shorthand syntax for closures
- Using closures with Swift's array algorithms
- Standalone closures and good style guidelines
- Changing functionality
- Select a closure based on results
- Strong reference cycles with closures
- Summary
- Chapter 11. Using Mix and Match
- What is mix and match?
- Using Swift and Objective-C together in the same project
- Summary
- Chapter 12. Concurrency and Parallelism in Swift
- Concurrency and parallelism
- Summary
- Chapter 13. Swift Formatting and Style Guide
- What is a programming style guide?
- Your style guide
- Summary
- Chapter 14. Network Development with Swift
- What is network development?
- An overview of the URL session classes
- REST web services
- Making an HTTP GET request
- Making an HTTP POST request
- Encoding a URL
- Checking network connection
- RSNetworking
- Summary
- Chapter 15. Adopting Design Patterns in Swift
- What are design patterns?
- Creational patterns
- Structural design patterns
- Behavioral design patterns
- Summary
- Index 更新時間:2021-07-16 14:12:31
推薦閱讀
- iOS Game Programming Cookbook
- Vue.js設計與實現
- 深入理解Android(卷I)
- Java多線程編程實戰指南:設計模式篇(第2版)
- AngularJS Testing Cookbook
- 你不知道的JavaScript(中卷)
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Citrix XenServer企業運維實戰
- Cocos2d-x Game Development Blueprints
- 深入淺出Python數據分析
- Applied Deep Learning with Python
- Visual C#(學習筆記)
- Java EE基礎實用教程
- Improving your Penetration Testing Skills
- Magento 2 Developer's Guide
- Storm Real-Time Processing Cookbook
- 精通Spring MVC 4
- Arduino Robotic Projects
- 架構師應該知道的37件事
- C語言從入門到精通(第6版)
- TypeScript實戰
- 從Scratch進階到Python(基礎篇)
- 40 Algorithms Every Programmer Should Know
- Zend Framework 2 Application Development
- Sencha Touch 2 Mobile JavaScript Framework
- Mastering Numerical Computing with NumPy
- Kotlin Blueprints
- Cross-platform UI Development with Xamarin.Forms
- J2EE應用開發詳解
- Intelligent IoT Projects in 7 Days