Contents
Chapter 1: Becoming a Great iOS Developer
Completing the Development Cycle
Introducing Object-Oriented Programming
Working with the Playground Interface
Exploring the Workspace Window
Creating Your First Swift Playground Program
Installing and Launching Xcode 7
Xcode Playground IDE: Editor and Results Areas
Chapter 3: It’s All About the Data
Numbering Systems Used in Programming
Declaring Constants and Variables
Using Variables in Playgrounds
Chapter 4: Making Decisions, Program Flow, and App Design
Optionals and Forced Unwrapping
Designing and Flowcharting an Example App
Using Loops to Repeat Program Statements
Coding the Example App in Swift
Nested if Statements and else if Statements
Improving the Code Through Refactoring
Chapter 5: Object-Oriented Programming with Swift
Chapter 6: Learning Swift and Xcode
Understanding the Language Symbols
Writing Another Program in Xcode
Chapter 7: Swift Classes, Objects, and Methods
Taking Class Methods to the Next Level
Accessing the Xcode Documentation
Chapter 8: Programming Basics in Swift
Creating the BookStore Application
Finishing the BookStore Program
Creating a Simple Data Model Class
Modifying MasterViewController
Modifying the DetailViewController
Chapter 10: Creating User Interfaces
Understanding Interface Builder
The Model-View-Controller Pattern
Creating an Example iPhone App with Interface Builder
Inspector Pane and Selector Bar
Chapter 11: Storing Information
Storing Information in a Database
Getting Started with Core Data
Chapter 12: Protocols and Delegates
Protocol and Delegation Example
Chapter 13: Introducing the Xcode Debugger
Getting Started with Debugging
Using the Breakpoint Navigator
Working with the Debugger Controls
Looking at the Thread Window and Call Stack
Dealing with Code Errors and Warnings
Chapter 14: A Swift iPhone App
Chapter 15: Apple Watch and watchKit
Considerations When Creating a watchOS App
Chapter 16: A Swift HealthKit iPhone App
Introduction to Core Bluetooth
Central and Peripheral Devices