All Versions
10
Latest Version
Avg Release Cycle
108 days
Latest Release
2107 days ago

Changelog History

  • v0.8.2 Changes

    July 20, 2018
    • Improves the performace of FlatButton when setting its properties multiple times.
  • v0.8.1 Changes

    June 13, 2018
    • Fixed an issue that would cause images in PressableButton to not move properly on highlight. #14
    • Made the FlatButton class open to allow subclassing.
  • v0.8.0 Changes

    January 17, 2018
    • Added Swift 4 support.
  • v0.7.0 Changes

    September 12, 2017
    • Added a FlatButton.selectedColor property to customize the appearance of a flat button in its selected state.
    • Adding Carthage support.
  • v0.6.0 Changes

    October 23, 2016
    • Breaking: SwiftyButton has been split into two different button types: FlatButton and PressableButton. Please refer to the [README](./README.md) for more details.
    • Setting cornerRadius on a CustomPressableButton now adjusts the corner radius of the content view. #4
  • v0.5.0 Changes

    September 20, 2016
    • Breaking: Converted code base to Swift 3.0.
    • Improved performance around background image generation when shadow height is zero. #1
  • v0.4.0 Changes

    December 03, 2015
    • Breaking: Removed SwiftyButton.Style since it made the interface less flexible.
    • Fixed a crash that would occur when button.shadowHeight = 0 && button.cornerRadius = 0
    • Made higlightedButtonColor nullable. The button won't change color if this property is nil (default).

    โšก๏ธ Updating from v0.3.0?: See the [README](./README.md) to learn how to convert from the Flat/Pressable button style using custom properties.

  • v0.3.0 Changes

    December 03, 2015
    • SwiftyButton can now be configured with a Style (Flat or Pressable).
    • Breaking: Added a higlightedButtonColor property to allow flat buttons that change color on touch.

    โšก๏ธ Updating from v0.2.0?: If you're using pressable buttons, the highlighted color of your SwiftyButton has to be manually set to buttonColor. It is recommended to use SwiftyButton(style:) or SwiftyButton.updateWithStyle() to avoid manually setting properties.

  • v0.2.0 Changes

    November 29, 2015
    • Added SwiftyCustomContentButton to add subviews to a SwiftyButton.
    • Fixed button title inset layout on press.