interface builder: friend or foe

11
INTERFACE BUILDER Friend or Foe?

Upload: zoltan-varadi

Post on 20-Jul-2015

51 views

Category:

Software


2 download

TRANSCRIPT

INTERFACE BUILDERFriend or Foe?

KNOW YOUR ENEMYHe might be a cool dude

Specs

• Graphical interface

• Creates “UIKit Objects”

• Stores in XML

• Storyboards

• Autolayout support

• Actively maintained

Specs

• Graphical interface

• Creates “UIKit Objects”

• Stores in XML

• Storyboards

• Autolayout support

• Actively maintained

Pros

• Easily customisable

• Fast @property declaration

• Less code

• Autolayout

• Support for every screen size &

orientation

• Constraint based relations vs

Descartes coordinate system based

• Complex functions easily

• Constraint based animations

• Visual approach vs thinking in code

Cons

• Limited customisation

• Circle???

• Impossible conflicts

• Xcode killer

• Shady behaviour

• Zero inheritance

• Custom UI elements

• Long learning curve

• Incompatibility with other libraries

What’s new - Preview

What’s new - IBInspectable / IBDesignable (NSHipster)

DemoNSHipster.com

Constraint based animations

QUESTIONS?