View controllers: we know them, love them, despise them, and overload them.
@gregheo AltConf 2017I was of three minds,Like a treeIn which there are three blackbirds.Thirteen Ways of Looking at a Blackbird Wallace Stevens
View Slide
@gregheo AltConf 2017Thirteen Waysof Looking at aView Controllerapproximately
@gregheo AltConf 2017Hold the ModelControllerModel View
@gregheo AltConf 2017Coordinate Between ViewsButton Labeltap actionset textView Controller ???
@gregheo AltConf 2017View Appearance Callbacks• view did load• view will / did appear• view will / did disappear
@gregheo AltConf 2017Handle View Layout• loadView• view setup in viewDidLoad• view will / did layout subviews• layout guides
@gregheo AltConf 2017“We shape our buildings, and afterwards our buildings shape us.”
@gregheo AltConf 2017Miscellaneous• “is editing” state• state restoration• search display controller• title
@gregheo AltConf 2017Manage Style• presentation style• transitions• thirteen ways to handle rotation
@gregheo AltConf 2017Navigation• Navigation controllers, tab bar controllers, split view controllers• View controller containment• Storyboard segues
@gregheo AltConf 2017Among twenty snowy mountains,The only moving thingWas the eye of the blackbird.swift
@gregheo AltConf 2017" #
@gregheo AltConf 2017so controllingsuch viewmuch single responsibilitywowvery SOLID
@gregheo AltConf 2017Model ViewPresentationLogicNavigationBusiness LogicManageViewsMassive View ControllerView Controller
@gregheo AltConf 2017View ControllerModelViewPresentationLogicNavigation?Business LogicManageViewsMVVMView Model
@gregheo AltConf 2017RoutingEntityView PresentationLogicNavigationBusiness LogicModelsVIPERPresenterInteractor
@gregheo AltConf 2017Router ViewPresentationLogicNavigation Business LogicModelRibletsPresenterInteractor
@gregheo AltConf 2017StreamsView ModelReactiveObserverBusiness LogicView ModelBusiness Logic
@gregheo AltConf 2017When the blackbird flew out of sight,It marked the edgeOf one of many circles.
@gregheo AltConf 2017
@gregheo AltConf 2017Thirteen Waysof Looking at aView Controller