Preferred method of contact:

Swift Programming Introduction

COURSE TYPE

Foundation

Course Number

2763

Duration

4 Days

PDF Add to WishList

This course is of particular value to programmers who are looking to migrate from Objective-C to Swift, or to those who are new to Mac or iOS development and want to learn Swift. With this training, you learn the syntax and semantics of Swift, as well as gain the skills to reduce coding time, create fast and powerful applications, and apply them in Mac and iOS application development.

You Will Learn How To

  • Learn the syntax and semantics of Swift
  • Create, compile, and execute Swift programs using Xcode
  • Develop Apple (Mac and iOS) applications that use functions
  • Implement flexible object-oriented designs with inheritance, aggregation, extensions, and protocols

Important Course Information

Requirements:

  • Previous programming experience and knowledge of an object-oriented programming language, such as C++, C#, Java, Ruby, Visual Basic .NET, or Python

Recommended Experience:

  • The Mac environment

Course Outline

  • Introduction to Swift Programming

Getting started with application development

  • Evolution of Swift
  • Leveraging Xcode for rapid application development
  • Analyzing the syntax of a simple application

Swift programming fundamentals

  • Decisions
  • Loops
  • Logic
  • Coding variables, constants, statements and control blocks
  • Testing code in interactive Playgrounds
  • Working with Data Types

Appraising built-in types

  • Choosing value types vs. reference types
  • Simplifying code with type inference
  • Writing safe and expressive code with optionals

Creating user-defined types

  • Returning compound values with tuples
  • Selecting among enums, structs and classes
  • Developing Classes, Structures and Enumerations

Declaring and initializing classes

  • Encapsulating specific tasks using methods and properties
  • Applying inheritance and polymorphism to class objects
  • Setting the initial state with initializers
  • Controlling access with public, private and internal modifiers

Organizing compound values with structures

  • Populating struct properties with the memberwise initializer
  • Contrasting functionalities of structs and classes

Designating groups of values with enumerations

  • Providing additional information with computed properties
  • Assigning initial values with custom initializers
  • Matching enumeration values in switch statements
  • Storing and accessing associated values
  • Constructing Functions

Designing reusable functions for code modularity

  • Performing specific tasks with self-contained blocks of code
  • Modifying variables with in-out parameters
  • Nesting functions within functions to perform complex tasks
  • Passing functions as function arguments

Capturing errors

  • Wrapping function calls in do {..}catch blocks
  • Choosing between try, try? and try!
  • Simplifying code with guard and defer

Exploiting generics in applications

  • Declaring generic functions that use generic types
  • Constraining types passed to a generic function
  • Structuring Object-Oriented Class Hierarchies

Reusing classes through aggregation

  • Incorporating the has-a relationship in class design
  • Employing collection types including arrays, dictionaries and sets
  • Iterating collections

Exposing interfaces with protocols

  • Conforming to protocols to provide standard functionality
  • Forming contracts with protocols
  • Benefiting from protocols in app design

Extending classes with inheritance

  • Enhancing class functionality beyond a default implementation
  • Identifying the is-a relationship
  • Defining initializers in subclasses
  • Leveraging dynamic binding through polymorphism

Customizing existing classes with extensions

  • Avoiding excessive inheritance
  • Modifying classes without access to the base-class source code
  • Integrating Swift with Objective-C

Interacting with Objective-C frameworks

  • Instantiating Objective-C classes in Swift
  • Accessing properties and methods

Incorporating Objective-C and Swift in the same project

  • Bridging Objective-C header files into Swift
  • Importing Swift code into Objective-C
  • Building GUIs with Swift
  • Creating a simple iOS app
  • Connecting actions and outlets
Show complete outline
Show Less

Convenient Ways to Attend This Instructor-Led Course

Hassle-Free Enrolment: No advance payment required to reserve your seat.
Tuition due 30 days after you attend your course.

In the Classroom

Live, Online

Private Team Training

In the Classroom — OR — Live, Online

Tuition — Standard: $3285   Government: $2890

Dec 19 - 22 (4 Days)
9:00 AM - 4:30 PM EST
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Mar 13 - 16 (4 Days)
9:00 AM - 4:30 PM EDT
New York / Online (AnyWare) New York / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Apr 24 - 27 (4 Days)
9:00 AM - 4:30 PM EDT
Toronto / Online (AnyWare) Toronto / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Jun 19 - 22 (4 Days)
9:00 AM - 4:30 PM EDT
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Aug 14 - 17 (4 Days)
9:00 AM - 4:30 PM EDT
New York / Online (AnyWare) New York / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Guaranteed to Run

Private Team Training

Enroling at least 3 people in this course? Consider bringing this (or any course that can be custom designed) to your preferred location as a private team training.

For details, call 1-888-843-8733 or Click here »

Tuition

Standard

Government

In Classroom or
Online

Standard

$3285

Government

$2890

Private Team Training

Contact Us »

Course Tuition Includes:

After-Course Instructor Coaching
When you return to work, you are entitled to schedule a free coaching session with your instructor for help and guidance as you apply your new skills.

Free Course Exam
You can take your Learning Tree course exam on the last day of your course or online at any time after class and receive a Certificate of Achievement with the designation "Awarded with Distinction."

Prev
Next

Training Hours

Standard Course Hours: 9:00 am – 4:30 pm
*Informal discussion with instructor about your projects or areas of special interest: 4:30 pm – 5:30 pm

FREE Online Course Exam (if applicable) – Last Day: 3:30 pm – 4:30 pm
By successfully completing your FREE online course exam, you will:

  • Have a record of your growth and learning results
  • Bring proof of your progress back to your organization
  • Earn credits toward industry certifications (if applicable)

}

Enhance Your Credentials with Professional Certification

Learning Tree's comprehensive training and exam preparation guarantees that you will gain the knowledge and confidence to achieve professional certification and advance your career.

This course is approved by CompTIA for continuing education units (CEUs). For additional information and to confirm which courses are eligible towards your CompTIA certification, click here.

- ,

Prev
Next
Chat Now

Please Choose a Language

Canada - English

Canada - Français