SwiftySweetness is a list of extensions that provides extra functionality and syntactic sugar.
Swift Package Manager
The recommended way to install
SwiftySweetness is by using the Swift Package Manager.
To install it, add the following to your
.package(url: "https://github.com/cszatma/SwiftySweetness.git", from: "3.0.0")
Then simply import it to use:
SwiftySweetness is also available through CocoaPods.
To install it, add the following line to your Podfile:
pod 'SwiftySweetness', '~> 3.0'
See the documentation for information on all the features this library provides.
SwiftySweetness is available under the MIT License.
Open an issue or submit a pull request.
Help us keep the lights on
3.0.0 - Jun 25, 2019
The project has been completely restructured and is now a pure SPM package (no more
xcodeproj in git, yay!) with proper Linux support. Also added tests, CI, and better documentation.
CGRectextensions have been removed. It is not part of the Swift standard library or Foundation so it is outside the scope of this project
- Swift 5 target by default
Int#reverseNumber()has been renamed to
Double#roundTo(place:)has been renamed to
String#splitCamelCase()has been renamed to
String#padhas been removed and replaced with
Switchclasses for creating condition expressions
- Unit tests
- Improved docs
2.0.0 - Sep 17, 2018
Removed UIKit and AppKit extensions and any references to these frameworks. This is now a pure Swift framework.