Fast Track to Swift Programming

$2,100.00


  • Virtual Classroom

  • Onsite

Duration: 3 days

Overview:
Be one of the absolute first to learn and master the brand new Swift Programming Language. Using Xcode 6, iOS 8, and the Swift Playground, this course covers the key skills required to master the Swift Programming Language. Swift is the brand new, very modern, and very important language used to write iOS and OS X code. Using the Xcode 6 IDE, the course covers not only the Swift language but also how to use the common classes that are included in Swift to greatly increase your productivity. At the end of the course, you will be able to write Swift code for iPhone, iPad and Mac OS X.

Course Objectives

  • Describe the software features provided by the Swift Programming Language.
  • Gain skills using Xcode to write Swift code.
  • Gain skills using Swift Playground.
  • Gain skills writing Swift code.
  • Gain skills using the Swift classes.

Course Prerequisites

Experience with a language such as C, Objective-C, C++, C#, Java or equivalent. No previous experience with the Mac is required.

Hardware/Software Prerequisites

The student must have a computer running Xcode 6.

Course Outline

  1. Introduction to Swift
  • Swift and Objective-C
  • Swift Language Features
  • Swift and Mac OS X
  • Swift and iPhone/iPad/iOS
  • Lab Exercises
  1. Swift Development Tools
  • Xcode
  • Swift Playground
  • Debugger
  • Lab Exercises
  1. Swift Basics
  • Constants (let) and Variables (let)
  • Fundamental Types: Int, Bool, String, Float, Double
  • Operators
  • Collection Types: Array, Dictionary
  • Types: Annotations, Inference, and Aliases
  • Optionals
  • Tuples
  • Assertions
  • Lab Exercises
  1. Swift Strings and Characters
  • String Literals
  • String Mutability
  • Characters
  • Counting
  • Concatenation
  • Comparing
  • Unicode, UTF-8, UTF-16
  • Lab Exercises
  1. Swift Collection Types
  • Arrays
  • Array Initialization
  • Array Access and Modification
  • Dictionary
  • Dictionary Initialization
  • Dictionary Access and Modification
  • Lab Exercises
  1. Swift Control Flow
  • If
  • If-Else
  • Switch
  • For-In
  • For-Condition-Increment
  • While
  • Do-While
  • Lab Exercises
  1. Swift Functions
  • Defining and Calling
  • Local Parameter Names
  • External Parameter Names
  • Shorthand External Parameter Names
  • Default Parameter Values
  • Variadic Parameters
  • Single Return Values
  • Multiple Return Values
  • Nested Functions
  • Lab Exercises
  1. Classes and Structures
  • Comparing Classes and Structures
  • Initialization and Deinitialization
  • Syntax
  • Instances
  • Properties
  • Value Types: Structures and Enumerations
  • Reference Types: Classes
  • Identity Operators
  • Assignment and Copy
  • Lab Exercises
  1. Properties
  • Stored Properties
  • Lazy Stored Properties
  • Computed Properties
  • Shorthand Setter Declaration
  • Read-Only Computed Properties
  • Property Observers
  • Global and Local
  • Lab Exercises

10.    Methods

  • Instance Methods
  • Local and External Parameter Names
  • self
  • Modifying Value Types
  • Mutating Methods
  • Type Methods
  • Lab Exercises

11.   Generics

  • About Generics
  • Generic Functions
  • Type Parameters
  • Naming Type Parameters
  • Generic Types
  • Type Constraints
  • Associated Types
  • Where Clauses
  • Lab Exercises

12.  Where to go from here?

  • Course Summary
  • Where to go form here