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

UI Prototyping with Playgrounds - Mobile Dev + ...

UI Prototyping with Playgrounds - Mobile Dev + Test, San Diego CA, April 2017

A talk about getting designers and developers to communicate better, and how to use Playgrounds to facilitate that.

Ellen Shapiro

April 27, 2017
Tweet

More Decks by Ellen Shapiro

Other Decks in Technology

Transcript

  1. UI Prototyping With Playgrounds Ellen Shapiro | Mobile Dev +

    Test, San Diego | April 2017 @designatednerd | spothero.com | justhum.com
  2. Thing iOS Thing Android Thing Color UIColor R.color Non-editable Text

    UILabel TextView Short Text Input UITextField EditText Long Text Input UITextView EditText Button UIButton Button Top Navigation UINavigationBar Toolbar
  3. Thing iOS Thing Android Thing Color UIColor R.color Non-editable Text

    UILabel TextView Short Text Input UITextField EditText Long Text Input UITextView EditText Button UIButton Button Top Navigation UINavigationBar Toolbar
  4. Thing iOS Thing Android Thing Color UIColor R.color Non-editable Text

    UILabel TextView Short Text Input UITextField EditText Long Text Input UITextView EditText Button UIButton Button Top Navigation UINavigationBar Toolbar
  5. Name From Designer iOS Var Name Android Name Corvette exm_darkRed

    R.color.red Tangerine exm_orange R.color.orange Canary exm_mutedYellow R.color.pee Palm Tree exm_green R.color.lt_green Ocean exm_navyBlue R.color.ocean Violet exm_purpleDrank R.color.go_u_nu
  6. Name From Designer iOS Var Name Android Name Corvette exm_corvette

    R.color.corvette Tangerine exm_tangerine R.color.tangerine Canary exm_canary R.color.canary Palm Tree exm_palmTree R.color.palm_tree Ocean exm_ocean R.color.ocean Violet exm_violet R.color.violet
  7. Name From Designer iOS Class Name Android Style Name Headline

    Text EXMHeadlineLabel HeadlineTextStyle Sub-Head Text EXMSubHeadLabel SubHeadTextStyle Body Text EXMBodyLabel BodyTextStyle Caption Text EXMCaptionLabel CaptionTextStyle Warning Text EXMWarningText WarningTextStyle Fine Print Text EXMFinePrintText FinePrintTextStyle
  8. Name From Designer iOS Class Name Android Style Name Primary

    Call To Action Button EXMPrimaryCTAButton PrimaryCTAButtonStyle Secondary Call To Action Button EXMSecondaryCTAButton SecondaryCTAButtonStyle Transactional Button EXMTransactionalButton TransactionalButtonStyle DestructiveButton EXMDestructiveButton DestructiveButtonStyle Edit Button EXMEditButton EditButtonStyle Checkbox Button EXMCheckboxButton CheckboxButtonStyle Radio Button EXMRadioButton RadioButtonStyle Giant Button EXMGiantButton GiantButtonStyle Super-Giant Button EXMSuperGiantButton SuperGiantButtonStyle
  9. Distributing playgrounds • Git • Email • AirDrop • Dropbox

    • Continuous Integration uploading to S3 or an internal site
  10. Playgrounds With Designers: Easy Mode • Hand off via email,

    AirDrop, or synced folder • Use a single, ginormous playground file** • Create basic elements but don't include anything complicated • Copy and paste files into the sources folder ** May be REAL slow
  11. Playgrounds With Designers: Advanced Mode • Automatically generate every time

    there's a build of the application • Copy source files of framework into Sources folder in playground using a script • Use a multi-page playground to separate things • Let designers download from a consistent place
  12. Playgrounds With Designers: Expert Mode • #SquadGoals • Automatically generate

    only when changes have taken place in the UI framework • Create a Playground Book that allows designers to muck about with stuff on their iPad • Automatically upload so the designers can get it on their iPad (iCloud? Dropbox?)
  13. A Few Parting Recommendations • Start small. • Colors, fonts,

    UILabel subclasses • Margins, font sizes, padding
  14. A Few Parting Recommendations • Start small. • Colors, fonts,

    UILabel subclasses • Margins, font sizes, padding, • UIButtons, UITextFields, and other state-driven UI
  15. A Few Parting Recommendations • Start small. • Colors, fonts,

    UILabel subclasses • Margins, font sizes, padding, • UIButtons, UITextFields, and other state-driven UI • Custom Views And Animations
  16. Links! • TrueColors app and the CyndiLauper parser: https:// github.com/vokal/TrueColors-macOS

    • Sourcery: https://github.com/krzysztofzablocki/Sourcery • Embedding frameworks in an .xcworkspace: https:// useyourloaf.com/blog/adding-playgrounds-to-xcode-projects/