Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.63 KB

CHANGELOG.md

File metadata and controls

40 lines (24 loc) · 1.63 KB

Change Log

  • 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