Lightning talk by Jens Goeman at iOSDevUK 2016.
Navigation in a worldwithout Storyboards
View Slide
Jens Goeman Developer[email protected]@goesman_
Storyboard
LoveSegueFlowVisualPrototype
HateComplicatedNo ReuseTesting!Merging Hell!
Alternative
Do it!in code
Do it!Do it!Testable"Merging Heaven" (most of the time)Reuse
Do it?Autolayout in code?No visual overviewTesting a UIViewController*.xibs FTW
How we do it
NavigationManagerOne dependencySingle point of contactKnows nothingNeeds input
InputWhich navigation?ParametersError blockInitiator
NavigatorDoes all the workCreate VCInject ParametersPresent VCReport
FLOW
1* Captain App yells his input
2* NavigationManager gets input
3* NavigationManager makes a corresponding navigator#
4* Navigator makes the new ViewController and presents it#
5* Win#$
DRYNavigationManager
Next up: Swift
This is my back
Jens Goeman Developer