Mobile App Development 2021W Lecture 22

From Soma-notes
Revision as of 19:23, 5 April 2021 by Soma (talk | contribs) (Created page with "==Video== The video from the lecture given on April 5, 2021 [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/lectures/comp1601-2021w-lec22-20210405.m4v is now available]....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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