Storyboard prototyping

31
Prototyping with iOS Storyboard

Transcript of Storyboard prototyping

Page 1: Storyboard prototyping

Prototyping with iOSStoryboard

Page 2: Storyboard prototyping

IntroductionVery oftenWe are tasked to createiOS prototypesTo test look and feel

Page 3: Storyboard prototyping

IntroductionSo we did quick and dirty work using PNGs given to us

Page 4: Storyboard prototyping

Introduction With Photoshop

Page 5: Storyboard prototyping

Introduction Balsamiq

Page 6: Storyboard prototyping

Introduction Powerpoint

Page 7: Storyboard prototyping

But there is a catchAll these tools do a pretty OK jobBut they do not capture the touchAnd feelOf the prototype on an actual device

Such as swipes on a device

Page 8: Storyboard prototyping

StoryboardEnter StoryboardIt’s helps designers and developers

To create prototypesThat can be deployed on devices

Page 9: Storyboard prototyping

StoryboardYou can create a quick prototypeUsing storyboardAnd deploy on a device for testing

Page 10: Storyboard prototyping
Page 11: Storyboard prototyping

StoryboardWith the layoutYou can sit down with the clientAnd create the app flowIn a visual mannerThat is easy to understand

Page 12: Storyboard prototyping

StoryboardStoryboards are awesomeYou can take pngs of mockups from your

clientsPut it as a UIImagePaste it in your StoryboardDrag and drop a few buttonsLink them to your other screensAdd in some hard coded data

Page 13: Storyboard prototyping

StoryboardVoila and your prototype is ready

Page 14: Storyboard prototyping

Storyboard Is like Xib on steroids Without all the nasty side effects

Page 15: Storyboard prototyping

StoryboardBest thing is that all these can be done relatively easily

Plus, most developers knows their way around XCode better than Photoshop

Prototypes get done fasterClients can test it on your device at home

Page 16: Storyboard prototyping

StoryboardBest part is thatWith the storyboard prototypeYou can immediately put the logic into itOnce the client is happy with the prototypeSaves time and money

Page 17: Storyboard prototyping
Page 18: Storyboard prototyping

StoryboardThose areas marked in red in the previous slide are the icons indicating the transitionThey are known as SeguesPronounced as Segway

Page 19: Storyboard prototyping

Things to rememberAlways remember to select the User Storyboards option when creating a new projectFile extension is .storyboard

Page 20: Storyboard prototyping
Page 21: Storyboard prototyping

NextRemember to set a storyboard to be the initial view controllerGo to View -> Utilities -> Show Attributes Inspector

Page 22: Storyboard prototyping
Page 23: Storyboard prototyping

LastAdd Navigation View to your initial view controllerSelect your initial viewGo to Editor -> Embed In -> Navigation Controller

Page 24: Storyboard prototyping
Page 25: Storyboard prototyping

Creating New StoryboardJust drag a new view controller to the storyboard screen

Page 26: Storyboard prototyping
Page 27: Storyboard prototyping

Link storyboard screens together part 1

Just select your buttonWhich will trigger the transitionThen right click and drag the Trigger Segues outletAnd pull it to the storyboard that you want to link

Page 28: Storyboard prototyping
Page 29: Storyboard prototyping

Link storyboard screens together part 2

Using codeYou need to give the segue an identifierThen write some code

Page 30: Storyboard prototyping
Page 31: Storyboard prototyping

The code to write[self performSegueWithIdentifier:@"SecondViewSegue" sender:self];