更新时间:2021-07-16 09:47:24
封面
版权页
Credits
About the Authors
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
Conventions
Reader feedback
Customer support
Chapter 1. Introduction to Xcode
Requirements and getting Xcode
Features of Xcode
What's new in Xcode 7?
Summary
Chapter 2. A tour of Xcode
Starting Xcode
Creating a new project
Choosing a template
Choosing the project options
Setting the project properties
Xcode overview
The toolbar area
The navigator area
The editor area
The comparison editor
The utilities area
The debug area
Development languages
Chapter 3. Playgrounds
Before we start
The storyboard workspace
Learning Swift
Working with constants and variables
Adding different types
Collection types
The Any and AnyObject types
Optionals
Tuples
Conditional statements
Loops
Functions and closures
Classes and structures
Enumerations
Error handling
Defer statements
Chapter 4. Interface Builder
Model View Controller
Understanding Interface Builder
Adaptive UI
Adding more views
Navigation controllers
Connecting views and controllers
Different elements in different Size Classes
Managing connections
Adding gesture recognizers
Chapter 5. Table Collection and Stack Views
Plain views versus Table Collection and Stack views
Static table views
Dynamic table views
Collection views
Stack views
Chapter 6. Custom Controls
Introducing Custom Controls
The basics
IBDesignable and IBInspectable
Advanced drawing with CALayer
Debugging Custom Controls
Chapter 7. Debugging
Breakpoints
Listing breakpoints
The debug navigator
Quick Look
Debugging the view hierarchy
Dealing with crashes
Chapter 8. Testing Your Code
Test-diven development
Testing in Xcode
Running tests and collecting results
Chapter 9. Sideloading Optimizing and Submitting Your App
iOS simulators
Simulating different devices
Sideloading
Optimizing your app
Submitting your app to the App Store
Submitting your app for review
Appendix A. Everything Else