最新章節
- Index
- Summary
- Behavioral design patterns
- Structural design patterns
- Creational patterns
- What are design patterns?
品牌:中圖公司
上架時間:2021-07-16 11:19:00
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Index 更新時間:2021-07-16 14:12:31
- Summary
- Behavioral design patterns
- Structural design patterns
- Creational patterns
- What are design patterns?
- Chapter 15. Adopting Design Patterns in Swift
- Summary
- RSNetworking
- Checking network connection
- Encoding a URL
- Making an HTTP POST request
- Making an HTTP GET request
- REST web services
- An overview of the URL session classes
- What is network development?
- Chapter 14. Network Development with Swift
- Summary
- Your style guide
- What is a programming style guide?
- Chapter 13. Swift Formatting and Style Guide
- Summary
- Concurrency and parallelism
- Chapter 12. Concurrency and Parallelism in Swift
- Summary
- Using Swift and Objective-C together in the same project
- What is mix and match?
- Chapter 11. Using Mix and Match
- Summary
- Strong reference cycles with closures
- Select a closure based on results
- Changing functionality
- Standalone closures and good style guidelines
- Using closures with Swift's array algorithms
- Shorthand syntax for closures
- Simple closures
- Introducing closures
- Chapter 10. Working with Closures
- Summary
- Associated types
- Generic types
- Generic functions
- Introduction to generics
- Chapter 9. Working with Generics
- Summary
- Optional chaining
- The need for optional types in Swift
- Introducing optionals
- Chapter 8. Using Optional Type and Optional Chaining
- Summary
- When not to use a custom subscript
- Multidimensional subscripts
- External names for subscripts
- Subscripts with ranges
- Subscript values
- Calculated subscripts
- Read only custom subscripts
- Read and write custom subscripts
- Subscripts with Swift arrays
- Introducing subscripts
- Chapter 7. Custom Subscripting
- Summary
- JSON and NSJSONSerialization
- XML and manually building XML documents
- Parsing XML documents
- Using the NSXMLParserDelegate protocol
- XML and the NSXMLParser class
- Common files
- XML and JSON
- Chapter 6. Working with XML and JSON Data
- Summary
- Memory management
- Extensions
- Protocols
- Overriding methods and properties
- Inheritance
- Initializer
- Creating a class or structure
- What are classes and structures?
- Chapter 5. Classes and Structures
- Summary
- Functions
- Control flow
- What we have learned so far
- Chapter 4. Control Flow and Functions
- Summary
- Foundation data types
- Using Cocoa data types
- Tuples
- Dictionaries
- Arrays
- Mutability
- Swift collection types
- Chapter 3. Using Collections and Cocoa Data Types
- Summary
- Operators
- Enumerations
- Optional variables
- The string type
- The Boolean type
- Numeric types
- Defining constants and variables
- Constants and variables
- Chapter 2. Learning about Variables Constants Strings and Operators
- Summary
- Hello world
- Swift language syntax
- Playgrounds
- What is Swift?
- Chapter 1. Taking the First Steps with Swift
- Preface
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權信息
- 封面
- 封面
- 版權信息
- 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