Book description
The team that brought you the bestselling Beginning iPhone Development, the book that taught the world how to program on the iPhone, is back again for Beginning iPhone Development with Swift.This definitive guide is up to date with Apple's new Swift programming language and the latest and greatest iOS 8 SDK, and Xcode 6.1.
There’s coverage of brand-new technologies, including Swift playgrounds, 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 8-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 6.1 and the iOS 8 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!
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Chapter 1: Welcome to the Swift Jungle
- Chapter 2: Appeasing the Tiki Gods
- Chapter 3: Handling Basic Interaction
-
Chapter 4: More User Interface Fun
- A Screen Full of Controls
- Active, Static, and Passive Controls
- Creating the Application
- Implementing the Image View and Text Fields
- Closing the Keyboard
- Implementing the Switches, Button, and Segmented Control
- Spiffing Up the Button
- Implementing the Segmented Control Action
- Implementing the Action Sheet and Alert
- Crossing the Finish Line
- Chapter 5: Rotation and Adaptive Layout
- Chapter 6: Multiview Applications
- Chapter 7: Tab Bars and Pickers
- Chapter 8: Introduction to Table Views
- Chapter 9: Navigation Controllers and Table Views
- Chapter 10: Collection View
- Chapter 11: Using Split Views and Popovers
- Chapter 12: Application Settings and User Defaults
- Chapter 13: Basic Data Persistence
- Chapter 14: Documents and iCloud
- Chapter 15: Grand Central Dispatch, Background Processing, and You
- Chapter 16: Drawing with Core Graphics
-
Chapter 17: Getting Started with Sprite Kit
- Simple Beginnings
- Player Movement
- Creating Your Enemies
- Putting Enemies in the Scene
- Start Shooting
- Attacking Enemies with Physics
- Finishing Levels
- Customizing Collisions
- Spicing Things Up with Particles
- The End Game
- At Last, a Beginning: Create a StartScene
- A Sound Is Worth a Thousand Pictures
- Making the Game a Little Harder: Force Fields
- Game On
- Chapter 18: Taps, Touches, and Gestures
- Chapter 19: Where Am I? Finding Your Way with Core Location and Map Kit
- Chapter 20: Whee! Gyro and Accelerometer!
- Chapter 21: The Camera and Photo Library
- Chapter 22: Application Localization
- Appendix A: A Swift Introduction to Swift
- Index
Product information
- Title: Beginning iPhone Development with Swift: Exploring the iOS SDK
- Author(s):
- Release date: November 2014
- Publisher(s): Apress
- ISBN: 9781484204092
You might also like
book
Beginning iPhone Development with Swift 5: Exploring the iOS SDK
Learn how to integrate all the interface elements iOS users have come to know and love, …
book
iOS Development with Swift
iOS Development with Swift is a hands-on guide to creating apps for iPhone and iPad using …
book
iOS SDK Programming A Beginners Guide
Essential Skills--Made Easy! Develop, test, and debug iPhone, iPad, and iPod touch applications with help from …
book
Swift 5 for Absolute Beginners: Learn to Develop Apps for iOS
Stay motivated and overcome obstacles while learning to use Swift Playgrounds and Xcode 10.2 to become …