Swift Programming for iPhone® and iPad® Applications
Duration: 5 Days
US Price: $2,595 *California residents and government employees call for pricing.
UK Price: £1,995 *Prices are subject to VAT
CA Price: CDN$2,275 *Prices are subject to GST/HST
Description: In this hands on Swift 3 programming course, attendees will learn how to develop iPhone and iPad apps using the Swift programming language and Xcode. Students will learn the Swift language and how to create Swift classes with properties, initializers and both instance and class methods.
Students will use Storyboards to design a user interface for iOS apps with multiple views. They will then configure view controller classes to interact with iOS views and controls (text fields, buttons, segmented controls, etc.) using IBOutlets, create event handlers using IBActions and then code events handlers.
Students will learn to persist data using three different strategies and implement each, read and write local files on the device, make asynchronous calls to Web services and parse XML data from the HTTP response. Students will also use Core Data to interact with local SQLite databases.
The course also includes coverage of how to implement the Apple delegate design pattern which is used in many APIs including those interacting with the camera and recorder. Students will practice these skills by writing code to capture images with the camera and recording and then playing back, audio.
Students will learn how to utilize Objective-C code in Swift applications in order to take advantage of the rich variety of existing APIs and frameworks. The course also includes coverage of scheduled background execution to allow code to be run when the app isn't active.
Students learn how Apple's Cocoa Touch UI Framework provides an abstraction layer of iOS for the iPhone and iPad. The course emphasizes safe programming practices. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency. Students will create Swift apps from the ground up, demonstrating the features of Swift and its supporting code libraries.
Prerequisites: Prior programming experience in an object-oriented language such as Objective-C, Java, C# or C++.
|Macintosh Programming Environment
|Swift Data Types
||Swift Control Structures
|Object Oriented Programming Constructs
||Swift Error Handling
|iOS Application Architecture and Design Patterns
||Introducing iOS Apps
|Enhancing iOS Apps
||Reading and Writing Files
|Working with Web Services
||Using Core Data
|Working with the Camera
||Working with Audio
|Touch Recognition and Gestures
||Mixing Swift and Objective-C
|System Events and Background Execution
Pad® and iPhone® are trademarks of Apple Inc., registered in the U.S. and other countries.