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.
You may find interesting
v3.0.0 - 2019-06-25 01:58:03
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
v2.0.0 - 2018-09-17 02:19:50
Removed UIKit and AppKit extensions and any references to these frameworks. This is now a pure Swift framework.