更新时间:2021-07-23 14:34:37
封面
版权页
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Trademarks
Conventions
Reader feedback
Customer support
Chapter 1. Exploring Swift
Open source Swift
Getting started with Swift
Conditional logic
Iteration
Functions
Command-line Swift
Summary
Chapter 2. Playing with Swift
Getting started with playgrounds
Displaying objects with Quick Look
Advanced techniques
Playgrounds and documentation
Limitations of playgrounds
Chapter 3. Creating an iOS Swift App
Understanding iOS applications
Creating a single-view iOS application
Swift classes protocols and enums
Creating a master-detail iOS application
Chapter 4. Storyboard Applications with Swift and iOS
Storyboards scenes and segues
Adding a navigation controller
Swift and storyboards
Using Auto Layout
Chapter 5. Creating Custom Views in Swift
An overview of UIView
Creating new views with Interface Builder
Creating new views by subclassing UIView
Custom graphics with drawRect
Custom graphics with layers
Chapter 6. Parsing Networked Data
Loading data from URLs
Parsing JSON
Parsing XML
Direct network connections
Chapter 7. Building a Repository Browser
An overview of the GitHub API
Repository browser project
Creating the client
Accessing repositories from view controllers
Chapter 8. Adding Watch Support
Watch applications
Creating watch interfaces
Responding to user interaction
Best practice for watch applications
Appendix A. References to Swift-related Websites Blogs and Notable Twitter Users
Language
Twitter users
Blogs and tutorial sites
Meetups
Afterword
Index