Beginning iPhone Development with Swift 2: Exploring the iOS SDK

  • 14h 14m
  • David Mark, Frederik Olsson, Jack Nutting, Jeff LaMarche, Kim Topley
  • Apress
  • 2015

This is the definitive guide to the Swift programming language and the iOS 9 SDK, and the source code has been updated to reflect Xcode 7 and Swift 2.

There’s up-to-date coverage of new Apple technologies as well as significant updates to existing material. You'll have everything you need to create your very own apps for the latest iOS devices. Every single sample app in the book has been rebuilt from scratch using the latest Xcode and the latest 64-bit iOS 9-specific project templates, and designed to take advantage of the latest Xcode features.

Assuming little or no working knowledge of the new Swift programming language, and written in a friendly, easy-to-follow style, this book offers a complete soup-to-nuts course in iPhone, iPad, and iPod touch programming. The book starts with the basics, walking through the process of downloading and installing Xcode and the iOS 9 SDK, and then guides you though the creation of your first simple application.

From there, you’ll learn how to integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The art of table building will be demystified, and you’ll learn how to save your data using the iPhone file system. You’ll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there’s much more!

What You Will Learn:

  • Everything you need to know to develop your own bestselling iPhone and iPad apps
  • Utilizing Swift playgrounds
  • Best practices for optimizing your code and delivering great user experiences
  • What data persistence is, and why it’s important
  • Get started with building cool, crisp user interfaces
  • How to display data in Table Views
  • How to draw to the screen using Core Graphics
  • How to use iOS sensor capabilities to map your world to get your app to work with iCloud and more

About the Author

Kim Topley is a software engineer with over thirty years of experience ranging from mainframe microcode and the UNIX kernel to graphical user interfaces and mobile applications. He is the author of five books on various aspects of Java and JavaFX and has been working with iOS since reading one of the first books published on the subject¯the first edition of Beginning iPhone Development.

In this Book

  • Welcome to the Swift Jungle
  • Appeasing the Tiki Gods
  • Handling Basic Interaction
  • More User Interface Fun
  • Rotation and Adaptive Layout
  • Multiview Applications
  • Tab Bars and Pickers
  • Introduction to Table Views
  • Navigation Controllers and Table Views
  • Collection View and Stack View
  • Using Split Views and Popovers
  • Application Settings and User Defaults
  • Basic Data Persistence
  • Documents and iCloud
  • Grand Central Dispatch, Background Processing, and You
  • Drawing with Core Graphics
  • Getting Started with SpriteKit
  • Taps, Touches, and Gestures
  • Where Am I? Finding Your Way with Core Location and Map Kit
  • Whee! Gyro and Accelerometer!
  • The Camera and Photo Library
  • Application Localization