Slide 1

Slide 1 text

Navigation in a world without Storyboards

Slide 2

Slide 2 text

Jens Goeman
 Developer [email protected] @goesman_


Slide 3

Slide 3 text

Storyboard

Slide 4

Slide 4 text

Love Segue Flow Visual Prototype

Slide 5

Slide 5 text

Hate Complicated No Reuse Testing !Merging Hell!

Slide 6

Slide 6 text

Alternative

Slide 7

Slide 7 text

Do it! in code

Slide 8

Slide 8 text

Do it! Do it! Testable "Merging Heaven" (most of the time) Reuse

Slide 9

Slide 9 text

Do it? Autolayout in code? No visual overview Testing a UIViewController *.xibs FTW

Slide 10

Slide 10 text

How we do it

Slide 11

Slide 11 text

NavigationManager One dependency Single point of contact Knows nothing Needs input

Slide 12

Slide 12 text

Input Which navigation? Parameters Error block Initiator

Slide 13

Slide 13 text

Navigator Does all the work Create VC Inject Parameters Present VC Report

Slide 14

Slide 14 text

FLOW

Slide 15

Slide 15 text

1* Captain App yells his input

Slide 16

Slide 16 text

2* NavigationManager gets input

Slide 17

Slide 17 text

3* NavigationManager makes a corresponding navigator #

Slide 18

Slide 18 text

4* Navigator makes the new ViewController and presents it #

Slide 19

Slide 19 text

5* Win # $

Slide 20

Slide 20 text

DRYNavigationManager

Slide 21

Slide 21 text

Next up:
 Swift

Slide 22

Slide 22 text

This is my back

Slide 23

Slide 23 text

Jens Goeman
 Developer