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

Storyboards vs. XIBs vs Code

Storyboards vs. XIBs vs Code

We've compared different methods of creating a layout on an iOS project.

Presented at the NS Istanbul Meetup on June 1st, 2014.

Created with Deckset. http://www.decksetapp.com

seyfeddin

June 01, 2014
Tweet

More Decks by seyfeddin

Other Decks in Programming

Transcript

  1. BREAK INTO PIECES » Authentication / Registration » Multi-step Order

    Forms » Wizards, Tutorials, etc. » Master-Detail
  2. WHEN TO USE ADVANTAGES » Easier Transitions » No alloc]

    init] » Visual Tool » Static Table Views
  3. WHEN TO USE ADVANTAGES » Easier Transitions » No alloc]

    init] » Visual Tool » Static Table Views » More than one Cell Templates
  4. WHEN TO USE ADVANTAGES » Easier Transitions » No alloc]

    init] » Visual Tool » Static Table Views » More than one Cell Templates » Less file count
  5. WHEN NOT TO USE » Complex custom UI » UI

    with too many clear backgrounds » Already implemented with code or XIBs
  6. Interface Builder Every view has its own XIB file. “After

    all, that's what Object-Oriented programming stands for.” -- Some programmer dude
  7. WHEN TO USE » Modal Views » Login/Register screens »

    Reusable Views (templates, table cells)
  8. WHEN TO USE » Modal Views » Login/Register screens »

    Reusable Views (templates, table cells) » Everywhere basically