Xcode and iOS Apps
- Views are in .storyboard files
- code that operates on the views is in a
UIViewController - a
UIViewControlleris linked to each screen in the storyboard
The Code
- Variables (also known as Objects): Store data about something (such as a
UILabelin the view, or a piece of text) - Functions: named blocks of code that can be run
- Classes (Didn't talk much about this): Blueprints for
Objects
- used for displaying lists of data
- requires writing special functions that tell the view how to layout the list (how many items, what each item should look like)
Writing a todo list (we'll stick to this for the next couple of sessions)