Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Interactively Prototyping UI with Playground and Storybooks

Interactively Prototyping UI with Playground and Storybooks

CocoaHeads 2016 Kharkiv

Andrey Moskvin

June 29, 2016
Tweet

More Decks by Andrey Moskvin

Other Decks in Programming

Transcript

  1. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv QUESTIONS 2 What do you

    use for laying out your apps UI - XIB or CODE? Have you used any of these tools:
 - Avocode, Zeplin, etc.
  2. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv GOAL 3 As a Developer/Designer

    I want to have a fast access to any UI component at any time and have an ability to easily update it’s state.
  3. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv SHORT FEEDBACK LOOP 4 Agile

    Feedback Loops Short feedback loops are one of the key benefits to the success of agile because they enable teams to learn fast and adjust. “Unit tests are the ‘smallest’ of feedback loop.”
  4. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv DATA DRIVEN DESIGN 5 Data

    matters, connections - do not Programming Paradigms
  5. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv PIXEL PERFECT DESIGN “PERFECT, DOWN

    TO THE PIXEL” iOS Designers - say "Good Bye" to pixel perfect 6
  6. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv STORYBOOKS 9 Pros:
 - xibs,

    code - no matter - interaction through IBInspectable - rendering through IBDesignable Compatible with Playgrounds as a Bonus!
  7. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv STORYBOOKS 10 Cons: - some

    boilerplate code to get Size Classes working - compile errors - break your IB
  8. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv PLAYGROUNDS Pros and cons: -

    no xibs, only code - REPL (read-eval-print loop) - interaction (playground is an app) - “public” is required Interactive Playgrounds Apple Guide 11 Playgrounds and XIBs (expectation vs reality)
  9. CocoaHeads Kharkiv 2016 @Berk0ld #cocoaheadskharkiv 12 Contacts: - Twitter: @Berk0ld

    - Skype: berkold - E-mail: [email protected] Q&A THANK YOU! https://github.com/Berk0ld/interactively-prototyping-UI