Information Technology
Hands on Training icon
Hands On Training
Hands on Training icon

Learn Swift Programming Syntax

Course Cover
compare button icon

Course Features

icon

Duration

3 weeks

icon

Delivery Method

Online

icon

Available on

Limited Access

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Beginner

icon

Teaching Type

Self Paced

Course Description

Swift is a language created by Apple specifically for iOS and OS X development Ita s fast concise and comes with tools which make it easier than ever to visualize one s code This course focuses on the syntax of the Swift programming language By the end of the course students should be able to apply Swift essentials to building iOS apps and employ Swift s more unique elements like optional types and switch statements with confidence

Course Overview

projects-img

International Faculty

projects-img

Post Course Interactions

projects-img

Hands-On Training,Instructor-Moderated Discussions

Skills You Will Gain

Prerequisites/Requirements

This course assumes prior programming experience! Specifically, you should be familiar with programming concepts like variables, if statements, and loops, as well as object-oriented concepts like methods and classesYou will also need access to a Mac compu

What You Will Learn

Classes, Properties, and MethodsPractice building custom classes with their own properties and methodsLearn about type properties and computed propertiesSee example use cases for type methods and instance methods

Closure ExpressionsPractice using Swift closures with the functions, sorted() and filter()Learn shorthand closure expression syntax to make your closures super conciseSee how closures are used in animations in the method, animateWithDuration

Control Flow: Loops, If statements, and SwitchesPractice fast iteration with for-in loops by iterating through items in Arrays and DictionariesCreate programming logic of increasing complexity with if-else statementsDelight in the convenience and concise

Enums and StructsLearn the difference between value types and references typesPractice choosing when to use enums, structs, and classesUse enums to make your switch statements extra Swifty

How to Write and Call Functions in SwiftDefine and call functionsCorrectly use local and external parametersIdentify parameter types and return types

Optional TypesDeclare explicitly and implicitly unwrapped optionalsUnwrap optionals using both optional binding and optional chainingPractice safely unwrapping optionals and learn to avoid errors

Protocols and ExtensionsLearn how protocols and extensions can help keep your code DRYGiven a series of code snippets, fix compiler errors by implementing protocolsEdit the code in a sample app to see extensions in action

Swift CollectionsLearn about the Swift Collection Types: Dictionaries, Arrays, and SetsPerform basic operations including: append, count, insert, remove, update, find, and retrievePractice manipulating collections with exercises in Swift playgrounds

Swift BasicsAn introduction to Swift types and operatorsDevelop deftness in defining variables and constantsPractice what you've learned with exercises in Swift playgrounds

Course Cover