Introduction
Swift is a new programming language from Apple. Swift is advertised as a “fast, modern, safe, interactive” programming language. The language is easier to learn and comes with features to make programming more productive. This course teaches Swfit4 programmer from scratch and serves as your launching point into the iOS Developer.
Course Outline
- Getting Started
- Getting Xcode
- Creating playgrounds and applications
- Reviewing the AdventureSwift playgrounds
- Swift 101
- Swift retrospective
- Accessing documentation
- Value vs. reference types
- Variable Basics
- Variables and constants
- Logging and commenting
- Type safety and inference
- Swift operators
- Basic strings
- Core string methods
- Working with numbers
- Basic Booleans
- Exercise
- Working with Collections
- Swift arrays
- Core array methods
- Swift dictionaries
- Core dictionary methods
- Working with sets
- Core set methods
- Swift tuples
- Exercise
- Application Control Flow
- The if statement
- Declaring and unwrapping optional
- Chaining optionals
- Using for-in loops
- While loops
- The switch statement
- The guard statement
- Exercise
- Writing Functions
- Basic functions
- Complex functions
- Overloading functions
- Function types
- Understanding closures
- Type aliasing
- Exercise
- Classes and Structs
- Basic Swift classes
- Custom methods and subclassing
- Basic Swift structs
- Adding struct methods
- Swift enumeration basics
- Working with raw and associated values
- Introduction to protocols
- Exercise
- Apps Design Projects
- Apps overview
- UI design
- Convert work flow to Code
- Custom Buttons
- Launch Screen Design
- iOS App Publishing Workflow
- Submitting Apps for Review