Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
iOS 9 SDK Development
About the Pragmatic Bookshelf
Table of Contents
Acknowledgments
Early praise for iOS 9 SDK Developme nt
Preface
About This Edition
So Here’s the Plan
Expectations and Technic al Requirements
Online Resources
And Here We Go
Pa rt 1 Coding in Swift
Chapter 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
Chapter 2: Starting with Swift
The Swift Programming Language
Using Variables and Constan ts
Counting with Numeric Types
Storing Text in Strings
Packaging Data in Collect ions
Looping and Branching: Co ntrol Flow
Maybe It’s There, Maybe It Isn’t: Optionals
What We’ve Learned
Chapter 3: Swift with Style
Creating Classes
Returning Tuples
Building Lightweight Structure s
Listing Possibilities with Enume rations
Handling Errors the Swift 2.0 W ay
What We’ve Learned
Part 2: Creating the App
Chapter 4: Building User Interfaces
Our First Project
The Xcode Window
Building Our User Interface
Autolayout
What We’ve Learned
Chapter 5: Connecting the UI to Code
Making Connections
Coding the Action
The iOS Programming Stack
Building Views with UIKit
Managing an Object’s Properti es
What We’ve Learned
Chapter 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
Chapter 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
Chapter 8: Managing Time with Closures
Setting Up Twitter API Calls
Encapsulating Code in Closu res
Using the Twitter Account
Making a Twitter API Req uest
Parsing the Twitt er Response
What We’ve Learned
Chapter 9: Doing Two Things at Once with Closures
Grand Central Dispatch
Concurrency and UIKit
Do-It-Yourself Concurrency
What We’ve Learned
Part 3: Evolving the App
Chapter 10: Managing the App’s Growth
Working with Multiple View Controllers
Refactoring in Xcode
Making the Twitter Code More G eneral Purpose
Trying Out Our Function
What We’ve Learned
Chapter 11: Moving Between View Controllers
Navigation Controll ers
The Navigation Bar
Navigating Between View Contr ollers
Using the Storyboard Segue
Sharing Data Betwee n View Controllers
Modal Navigation
Exit Segues
What We’ve Learned
Chapter 12: Making the Most of Big Screens
Split Views on iPad
Split Views on the iPho ne
Size Classes and the iPhone 6
What We’ve Learned
Chapter 13: Handling Touch Gestures
Gesture Recognizers
Pinching and Panning
Affine Transformations
Transforming the Image Vi ew
Subview Clipping
What We’ve Learned
Chapter 14: Viewing and Editing Photos
Photo Assets and PHAsset Class
Fetching Our Assets
Core Image
What We’ve Learned
Part 4: Beyond the App
Chapter 15: Interacting with iOS and Other Apps
The App Life Cycle
Opening via URLs
App Extensions
Creating a Keyboard Extension
Bundling Shared Code in Framework s
What We’ve Learned
Chapter 16: Fixing the App When It Breaks
NSLog(): The First Line of Defense Against Bu gs
Breakpoints
Setting Up Your Debugging Environm ent
What We’ve Learned
Chapter 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
You May Be Interested In…
← Prev
Back
Next →
← Prev
Back
Next →