DesignableButton

DesignableButton is a UIButton subclass that uses a centralized and reusable styling. In InterfaceBuilder, drag and drop a DesignableButton, choose your style and its applied instantly in InterfaceBuilder

Features:

  • One centralised class to define you main button styles so they can be reused
  • Different styles for different button states: Normal/Selected/Disabled
  • The centralised styles can be set in IB (no more IBOutlets needed for programatical styling)
  • View the style in IB in realtime. Even changing button to selected state will update IB
  • Individual buttons can override their centralised styles in IB
  • Rounded corners and borders are easy with DesignableButton
  • Buttons with an image above text are easy with DesignableButton

Posted

in

,

by

Tags:

Comments

Leave a Reply