Mobile App Development 2021W Lecture 22

From Soma-notes
Jump to navigation Jump to search

Video

The video from the lecture given on April 5, 2021 is now available.

Notes

Lecture 22
----------

Storyboard apps for iOS are based on a "model view controller" pattern
 - interface is the view and the controller (output vs input)
 - model is internal state
 - I find MVC to be problematic in many cases because of the tight
   coupling between the view and the controller

Software design patterns are descriptive, not prescriptive
 - you can see the patterns when you look at code
 - but when you build code, they generally aren't that helpful
 - I think they should be learned bottom up, not top down

UIKit is the framework underlying Storyboard iOS apps
 - as opposed to AppKit (which is for MacOS apps)

iOS           Android

IBOutlet <--> FindViewByID
IBAction <--> onClick, etc