Introduction 1
Part I: Getting Started with Swift 5
Chapter 1: Setting Up an Xcode Swift Project 7
Chapter 2: Playing in the Playground 39
Chapter 3: Using the Xcode Editing Tools 47
Chapter 4: Creating a Swift App 63
Part II: Introducing Actions 105
Chapter 5: Operating on Data 107
Chapter 6: Using Swift Types 127
Chapter 7: Collecting Objects 153
Chapter 8: Controlling the Flow 175
Chapter 9: Functioning Successfully 191
Part III: Putting Expressions Together 217
Chapter 10: Expressing Yourself 219
Chapter 11: Declaring the Symbols 235
Chapter 12: Initializing and Deinitializing Data 243
Part IV: Using Components and Subcomponents 255
Chapter 13: Expanding Objects with Extensions 257
Chapter 14: Managing Access Control for Your Objects 267
Chapter 15: Building Classes, Structures, and Enumerations 273
Chapter 16: Using Properties, Variables, Outlets, and Actions 287
Chapter 17: Working with Enumerations to Consolidate Values 273
Chapter 18: Using Protocols to Provide Templates for Functionality 313
Chapter 19: Mixing Objective-C and Swift 327
Part V: The Part of Tens 335
Chapter 20: Ten Swift Features That Aren't in Objective-C 337
Chapter 21: Ten Swift Features That Are Not in C 341
Chapter 22: Ten Objective-C Features That Aren't in Swift 345
Index 349