CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2017 |
SwiftSwift Version | 3.1 |
SPMSupports SPM | ✗ |
Maintained by Matt Wakefield, John Bailey.
A series of helpful Swift extensions and utilities.
A series of helpful extensions.
Lots of additional Date
functionality.
Ever wish you could more easily create a UIImage
from a URL
object? Now you can!
UIImage.load("http://cdn.devmode.com/assets/ben_bio-818b58fc249a9d19ba5a5ce436dd54e1.jpg") { img in
...
}
Also, your UIImage
will be cached locally after first use.
Easily parse a URL
query string into a Dictionary
of key/value pairs.
let url = URL(string: "http://www.devmode.com?param1=value1¶m2=value2¶m3=value3")
url?.parsedQuery["param1"] // "value1"
url?.parsedQuery["param2"] // "value2"
url?.parsedQuery["param3"] // "value3"
A series of helpful utilities.
A subclass of Operation
for asynchronous tasks.
loadingQueue = OperationQueue()
loadingQueue.maxConcurrentOperationCount = 2
loadingQueue.addOperation(AsynchronousOperation { done in
...
})
Easily retrieve and store persistent device-specific default values via subscript.
Defaults.standard["KEY"] = "VALUE"
Defaults.standard["KEY"] as? String // "VALUE"
Ever wish you could use traditional logging mechanisms in Swift? Now you can!
Logger.log("Test", .warning, "Hello World!")
Logger.warning("Test", "Hello World!")
Ever wish you could interact with nested values from property files more easily? Now you can!
// Set a persistent environment to switch between property lists.
PropertyList.environment = .production
// Specify the `Bundle` to use to locate the property list.
PropertyList.bundle = Bundle(for: type(of: self))
// Use subscripts and dot-syntax to retrieve values from property list files.
PropertyList.main["Group.SubOne.Key"].string // <nested-value-from-property-list>