interface builder: friend or foe
Post on 20-Jul-2015
52 Views
Preview:
TRANSCRIPT
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
top related