+ All Categories
Home > Software > Interface builder: Friend or foe

Interface builder: Friend or foe

Date post: 20-Jul-2015
Category:
Upload: zoltan-varadi
View: 51 times
Download: 2 times
Share this document with a friend
Popular Tags:
11
INTERFACE BUILDER Friend or Foe?
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?


Recommended