Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Acknowledgments
Preface
About This Edition
So Here’s the Plan
Expectations and Technical Requirements
Online Resources
And Here We Go
Part I. Coding in Swift
1. Playing with Xcode
Tooling Up with Xcode
Messing Around in a Playground
Getting Serious on the Playground
Digging Into Documentation
What We’ve Learned
2. Starting with Swift
The Swift Programming Language
Using Variables and Constants
Counting with Numeric Types
Storing Text in Strings
Packaging Data in Collections
Looping and Branching: Control Flow
Maybe It’s There, Maybe It Isn’t: Optionals
What We’ve Learned
3. Swift with Style
Creating Classes
Returning Tuples
Building Lightweight Structures
Listing Possibilities with Enumerations
Handling Errors the Swift 2.0 Way
What We’ve Learned
Part II. Creating the App
4. Building User Interfaces
Our First Project
The Xcode Window
Building Our User Interface
Autolayout
What We’ve Learned
5. Connecting the UI to Code
Making Connections
Coding the Action
The iOS Programming Stack
Building Views with UIKit
Managing an Object’s Properties
What We’ve Learned
6. Testing the App
Unit Tests
How Tests Work in Xcode
Test-Driven Development
Creating Tests
Testing Asynchronously
User Interface Testing
Running and Testing on the Device
What We’ve Learned
7. Working with Tables
Tables on iOS
Table Classes
Creating and Connecting Tables
Filling In the Table
Customizing Table Appearance
Cell Reuse
Custom Table Cells
Pull-to-Refresh
What We’ve Learned
8. Managing Time with Closures
Setting Up Twitter API Calls
Encapsulating Code in Closures
Using the Twitter Account
Making a Twitter API Request
Parsing the Twitter Response
What We’ve Learned
9. Doing Two Things at Once with Closures
Grand Central Dispatch
Concurrency and UIKit
Do-It-Yourself Concurrency
What We’ve Learned
Part III. Evolving the App
10. Managing the App’s Growth
Working with Multiple View Controllers
Refactoring in Xcode
Making the Twitter Code More General Purpose
Trying Out Our Function
What We’ve Learned
11. Moving Between View Controllers
Navigation Controllers
The Navigation Bar
Navigating Between View Controllers
Using the Storyboard Segue
Sharing Data Between View Controllers
Modal Navigation
Exit Segues
What We’ve Learned
12. Making the Most of Big Screens
Split Views on iPad
Split Views on the iPhone
Size Classes and the iPhone 6
What We’ve Learned
13. Handling Touch Gestures
Gesture Recognizers
Pinching and Panning
Affine Transformations
Transforming the Image View
Subview Clipping
What We’ve Learned
14. Viewing and Editing Photos
Photo Assets and PHAsset Class
Fetching Our Assets
Core Image
What We’ve Learned
Part IV. Beyond the App
15. Interacting with iOS and Other Apps
The App Life Cycle
Opening via URLs
App Extensions
Creating a Keyboard Extension
Bundling Shared Code in Frameworks
What We’ve Learned
16. Fixing the App When It Breaks
NSLog(): The First Line of Defense Against Bugs
Breakpoints
Setting Up Your Debugging Environment
What We’ve Learned
17. Publishing and Maintaining the App
Getting with the Program
Preparing the App for Submission
Uploading the App
Testing with TestFlight
Publishing and Beyond
Next Steps
What We’ve Learned
← Prev
Back
Next →
← Prev
Back
Next →