Getting Started with App Development
App Development with Swift, by Apple - Unit 1
Swift Lessons
- Introduction to Swift and Playgrounds
- Constants, Variables and Data Types
- Operators
- Control Flow
- SDK Lessons
Xcode
- Building, Running, Debugging and App
- Documentation
- Interface Builder Basics
Guided Project
- Light is a simple full-screen flashlight app, where the user taps the screen to toggle its color between black and white.
1. Getting Started with App
Development
App Development with Swift, By Apple - Unit 1
2. Getting Started with App Development
Unit 1
● Swift Lessons
○ Introduction to Swift and Playgrounds
○ Constants, Variables and Data Types
○ Operators
○ Control Flow
● SDK Lessons
○ Xcode
○ Building, Running, Debugging and App
○ Documentation
○ Interface Builder Basics
3. Introduction to Swift and Playgrounds
Lesson 1.1
● In this lesson, you'll learn about the origin
of Swift and some of its basic syntax.
● What You'll Learn
○ Why Swift is a great language to learn
○ How to use Xcode playgrounds to run
Swift code
● Vocabulary
○ console
○ open source
○ playground
○ results sidebar
4. Constants, Variables and Data
Lesson 1.2
● What You'll Learn
○ How to represent numbers, strings, and
boolean values using native Swift data
types
○ When to use a constant and when to use a
variable
○ How to assign values to constants and
variables
○ How type inference helps you write clean
code
○ How type safety helps you write safe code
● Vocabulary
○ Bool
○ constant
○ Double
○ function
○ immutable
○ int
○ let
○ mutable
○ property
○ type inference/safety
var
5. Operators
Lesson 1.3
● What You'll Learn
○ How to do basic mathematic operations
○ How to add two numbers of different types
together
○ How to find the remainder of a division
operation
● Vocabulary
○ compound assignment
○ operator
6. Control Flow
Lesson 1.4
● What You'll Learn
○ How to use if and else statements to
control what code is executed
○ How to use the logical operators NOT (!),
AND (&&), and OR (||) to check if something
is true or false
○ How to use a switch statement to control
what code is executed
○ How to use the ternary operator (?:) to
conditionally assign different values to a
constant or variable
● Vocabulary
○ conditional
○ if statement
○ if-else statement
○ interval matching
○ logical operators
○ switch
○ ternary operator
7. Xcode
Lesson 1.5
● What You'll Learn
○ How to navigate Xcode projects
○ How to use the project navigator, debug
area, assistant editor, and version editor
● Vocabulary
○ active scheme
○ console pane/area
○ debug area
○ project navigator
○ project template
○ push notifications
○ standard editor
○ storyboard
○ target
○ utilities area
○ variables view
○ version editor
8. Building, Running and Debugging Apps
Lesson 1.6
● What You'll Learn
○ How to use Simulator to run apps within
the Xcode environment
○ How to run an app on a physical device
○ How to perform basic debugging using
breakpoints
● Vocabulary
○ breakpoint
○ bug
○ deprecated code
○ developer mode
○ compiler error
○ exception
○ landscape/portrait
○ step control buttons
○ warning
9. Documentation
Lesson 1.7
● What You'll Learn
○ How to use the documentation browser
○ How to find sample code and framework
guides
● Vocabulary
○ documentation browser
○ Quick Help
○ symbol
10. Interface Builder Basics
Lesson 1.8
● What You'll Learn
○ How to use Interface Builder to build user
interfaces
○ How to preview user interfaces without
compiling the app
● Vocabulary
○ action
○ canvas
○ Document Outline
○ view controller
○ initial view controller
○ outlet
○ scene
○ XIB