Swift Programming Introduction


Course Facts

  • 2 day course
  • Live Online or Classroom-based
  • Certificate of completion
  • Maximum class size of 6 for scheduled courses
  • Unlimited support after your course
  • Courses at all levels: Introduction, Intermediate, Advanced and Masterclasses

Course Outline

  • Introduction to Swift and Playgrounds
  • Constants, Variables, and Data Types
  • Operators
  • Control Flow
  • Strings
FULL OUTLINE

Private One-to-One Training

One-to-one tuition tailored to your exact requirements. Your choice of duration, dates and content.

Enquire Now

Team Training for Companies

Group bookings provide you with the most cost-effective way to train your team.

Enquire Now

Team Training and Bespoke Sessions

Booking a private training session allows you to focus on your exact needs on dates that work best for you or your team.

  • Sessions can be run online or in person, on your site or at our London training centre.
  • We manage training for many of the UK’s largest companies, taking care of all the admin, working with you to ensure the perfect course.
  • Our expert trainers will first understand your requirements and then tailor each session to your exact specification.
  • We offer a free consultation service to work out every detail of your course.

Prices for bespoke sessions with our expert trainers start at £525 + VAT.

Overview

From Playgrounds to protocols, discover, explore, and demonstrate how to use the fundamental building blocks of the Swift programming language. This 2-day, hands-on course is designed to teach you the basic concepts of Swift programming, including syntax, logic, structures, functions, and patterns. It also includes detailed explanations of language syntax and coding exercises. Topics covered include Introduction to swift and playgrounds, Constants, variables, and data types, Operators, Control flow, Strings, Functions, Structures, Classes, Optionals, Collections, Loops, Type casting, Guard, Scope, Enumerations, Protocols, Closures and Extensions.
Read More...

Course Outline

Introduction to Swift and Playgrounds

  • Overview of Swift's origins and evolution
  • Introduction to the Swift Playground environment for interactive development

Constants, Variables, and Data Types

  • Defining constants for values that don't change and variables for values that do
  • Exploring the built-in data types in Swift, including Int, Double, String, and Bool

Operators

  • Using arithmetic, comparison, and logical operators in Swift
  • Understanding operator precedence and combining operators to form expressions

Control Flow

  • Using conditional statements like if, else, and switch for decision-making
  • Implementing control flow with for, while, and repeat-while loops

Strings

  • Creating and storing text using the String type
  • Exploring common string methods for comparing, accessing, and manipulating text

Functions

  • Declaring functions with parameters and return types
  • Using functions to modularize code and promote reusability

Structures

  • Creating and using structures (struct) in Swift
  • Understanding the differences between structures and classes

Classes

  • Differentiating between classes and structures, and when to use each
  • Exploring inheritance, superclasses, and subclasses in object-oriented programming

Optionals

  • Using optionals to handle the absence of a value
  • Safely unwrapping optionals with if let, guard let, and forced unwrapping

Collections

  • Working with arrays, dictionaries, and sets in Swift
  • Choosing the appropriate collection type based on the use case

Loops

  • Creating for, while, and repeat-while loops to iterate over collections
  • Controlling loop flow with break and continue statements

Type Casting

  • Understanding type casting and the concept of type safety in Swift
  • Using as, as?, and as! for safe and forced type casting

Guard

  • Using guard statements to improve code readability and handle early exits
  • Managing control flow more efficiently with guard in functions

Scope

  • Understanding variable and constant scope within functions, loops, and blocks
  • Writing clean, well-scoped code for improved readability and maintainability

Enumerations

  • Defining and using enumerations (enum) in Swift
  • Leveraging switch statements to work with enum values

Protocols

  • Defining and using protocols to ensure type conformity
  • Extending protocols to add default behavior and enable code reuse

Closures

  • Defining and using closures for anonymous functions and callbacks
  • Passing closures as function arguments and handling trailing closures

Extensions

  • Defining and applying extensions to add functionality to existing types
  • Understanding the role of extensions in Swift and their impact on code organisation

Our Clients

Our Recent Success Stories

eLearning Training

eLearning

Julie's Story

Learning Technologist at Imperial College

Photoshop Training

Photoshop

Kiren's Story

Marketing Manager at Dataminer

Sketch Training

Sketch

Mark's Story

Graphic Designer at Just Eat

30 years working with our clients
Five Star Training Five Star Training Five Star Training Five Star Training Five Star Training   600+ Reviews

Why Transmedia?

Unlimited Training Support

We offer unlimited training support after your course.

Bespoke Training Solutions

Customised training and software solutions based on your exact specification.

Worldwide Creative Skills Training

Join our authorised training courses live online from anywhere in the world.

Authorised Training Professionals

Our experts are accredited by Adobe, Apple and Claris and bring years of experience and real-world expertise.

Courses Live Online

Join our virtual classrooms to learn from the comfort of your own space in real time from our accredited training experts.

SEE COURSES

Classroom Training

Join us at one of our Authorised Training Centres for a traditional classroom-based experience.

We have everything ready for you to have the best training experience.

SEE COURSES

Private Courses

One-to-one tuition or a private group training with just you or your colleagues.

We can train you live online, at one of our centres or onsite, wherever you are located.

SEE COURSES

Useful Links

Latest Help Station Articles