For this week we had two labs to get us familiar with Xcode and Swift.
Xcode lab
- learned about different sections of Main.storyboard view
- scene graph
- shows hierarchy of components in your views
- canvas
- specific views that make up the app
- utility area
- multiple tabs that show information about the state of the user interface and a set of tools to modify it.
- UI widgets to drag and drop into the canvas / can size and position by value
- scene graph
- Object library (cmd+shift+L) or click + sign in top menu
- Labels
- blue dashed lines appear when text is centered
- playing with custom font, size, and alignment fields
- Labels
- Safe Areas / Auto Layout Constraints
- a new concept introduced in iOS11
- allows for responsive interaction
- safe area is basically the guaranteed area of the screen where content will not be blocked by other elements
- ex: designing for the iphone notch
- Running an app simulator
- Running an app on hardware
Swift UI tutorial: Creating and Combining Views