Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 2.92 KB

CHANGELOG.md

File metadata and controls

74 lines (47 loc) · 2.92 KB

Change Log

  • Improves the performace of FlatButton when setting its properties multiple times.
  • Fixed an issue that would cause images in PressableButton to not move properly on highlight. #14
  • Made the FlatButton class open to allow subclassing.
  • Added Swift 4 support.
  • Added a FlatButton.selectedColor property to customize the appearance of a flat button in its selected state.
  • Adding Carthage support.
  • Breaking: SwiftyButton has been split into two different button types: FlatButton and PressableButton. Please refer to the README for more details.
  • Setting cornerRadius on a CustomPressableButton now adjusts the corner radius of the content view. #4
  • Breaking: Converted code base to Swift 3.0.
  • Improved performance around background image generation when shadow height is zero. #1
  • 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 to learn how to convert from the Flat/Pressable button style using custom properties.

  • 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.

  • Added SwiftyCustomContentButton to add subviews to a SwiftyButton.
  • Fixed button title inset layout on press.
  • Initial release