Slide 1

Slide 1 text

@gregheo AltConf 2017 I was of three minds, Like a tree In which there are three blackbirds. Thirteen Ways of Looking at a Blackbird
 Wallace Stevens

Slide 2

Slide 2 text

@gregheo AltConf 2017 Thirteen Ways of Looking at a View Controller approximately

Slide 3

Slide 3 text

@gregheo AltConf 2017 Hold the Model Controller Model View

Slide 4

Slide 4 text

@gregheo AltConf 2017 Coordinate Between Views Button Label tap
 action set
 text View Controller ???

Slide 5

Slide 5 text

@gregheo AltConf 2017 View Appearance Callbacks • view did load • view will / did appear • view will / did disappear

Slide 6

Slide 6 text

@gregheo AltConf 2017 Handle View Layout • loadView • view setup in viewDidLoad • view will / did layout subviews • layout guides

Slide 7

Slide 7 text

@gregheo AltConf 2017 “We shape our buildings, 
 and afterwards our
 buildings shape us.”

Slide 8

Slide 8 text

@gregheo AltConf 2017 Miscellaneous • “is editing” state • state restoration • search display controller • title

Slide 9

Slide 9 text

@gregheo AltConf 2017 Manage Style • presentation style • transitions • thirteen ways to handle rotation

Slide 10

Slide 10 text

@gregheo AltConf 2017 Navigation • Navigation controllers, tab bar controllers,
 split view controllers • View controller containment • Storyboard segues

Slide 11

Slide 11 text

@gregheo AltConf 2017 Among twenty snowy mountains, The only moving thing Was the eye of the blackbird. swift

Slide 12

Slide 12 text

@gregheo AltConf 2017 " #

Slide 13

Slide 13 text

@gregheo AltConf 2017 so controlling such view much single
 responsibility wow very SOLID

Slide 14

Slide 14 text

@gregheo AltConf 2017 Model View Presentation Logic Navigation Business
 Logic Manage Views Massive View Controller View Controller

Slide 15

Slide 15 text

@gregheo AltConf 2017 View Controller Model View Presentation Logic Navigation? Business
 Logic Manage Views MVVM View Model

Slide 16

Slide 16 text

@gregheo AltConf 2017 Routing Entity View Presentation Logic Navigation Business
 Logic Models VIPER Presenter Interactor

Slide 17

Slide 17 text

@gregheo AltConf 2017 Router View Presentation Logic Navigation Business
 Logic Model Riblets Presenter Interactor

Slide 18

Slide 18 text

@gregheo AltConf 2017 Streams View Model Reactive Observer Business
 Logic View Model Business
 Logic

Slide 19

Slide 19 text

@gregheo AltConf 2017 When the blackbird flew out of sight, It marked the edge Of one of many circles.

Slide 20

Slide 20 text

@gregheo AltConf 2017

Slide 21

Slide 21 text

@gregheo AltConf 2017

Slide 22

Slide 22 text

@gregheo AltConf 2017 Thirteen Ways of Looking at a View Controller