- Creating a project in XCode 8 (Calculator)
- Building a UI
- The iOS Simulator
- Print (outputting to the console using
\()
notation) - Defining a class in Swift, including how to specify instance variables and methods
- Connecting properties (instance variables) from our Swift code to the UI (outlets)
- Connecting UI elements to invoke methods in our Swift code (actions)
- Accessing iOS documentation from our code
- Optionals (
?
, unwrapping implicitly by declaring with!
, and unwrapping explicitly with!
andif let
)
- MVC
struct
vs.class
(mutating, etc.)public
versusprivate
API- More examples of Optional
- Dictionary<KeyType,ValueType>
- enum
- Associated values
- Switch
- Functions as types
- Closure syntax for defining functions “on the fly”
- UIStackView
- First peek at Autolayout (stick things to the edges)
- What are Optionals really?
- Tuples
- Range
- Data Structures, Methods and Properties
- Array, Dictionary<K,V>, String, et. al.
- Initialization
- AnyObject, introspection and casting (is and as)
- UserDefaults
- assert
- Custom Views
Slides Reading Assignment Programming Assignment
- Demo (FaceIt)
- Gestures
- Multiple MVCs
- Multiple MVCs
- View Controller Lifecycle
- Time Permitting