All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- UIButtonAdditions.swift becomes UIControlAdditions.swift for greater reuse. Support debouncing of sibling controls as well as the original UIControl.
PriceFormatterfor formatting numeric values as prices inStringformat.
- Case-insensitive comparison for method for
StringequalsIgnoreCase(_:).
- Updated to Swift 5.0.
- Updated SwiftLint rules.
- Support for Swift Package Manager using Xcode 11.0 beta.
mapDistinct(_:)renamed touniqueMap(_:)to better fit with naming ofcompactMap(_:)andflatMap(_:).
- Added
isNotEmptyproperty toStringandCollection.
- Int extension providing convenience property
isZeroto make code more readable over== 0.
- Updated UIColorAdditions to make code more maintainable / reduce duplication.
- UIView extension (UIViewAdditions.swift) with method roundCorners(_ corners: radius:) for rounding view corners.
- UIButton extension (UIButtonAdditions.swift) with method debounce(delay:) for debouncing button taps.
- DictionaryAdditions new initializers for initializing from a single tuple / array of tuples.
- Updated project to Swift 4.2.
- NSAttributedString extension for trimming attributed strings.
- Support for Carthage.
- Updated project to Swift 4.
- UIColor extension for obtaining lighter / darker shades of colors.
- Extension on Collection for mapping distinct elements only.
- Extension on Dictionary for instantiating from an array of tuples.