What is 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

Overview

  • Pricing: Free
  • Resource Link: https://github.com/IdleHandsApps/DesignableButton
  • Resource Maker: Fraser Scott-Morrison
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: IHDesignableButton