An invaluable collection of Swift extensions and utilities for iOS development
About
LionheartExtensions is a handy collection of extensions, helpers, and other utilities that I've collected since the introduction of the iOS SDK, ported to Swift. It started off as a collection of Objective-C categories with roots going years back. These extensions make numerous cumbersome operations easy and straightforward, with improved initializers, helper methods, and other various shortcuts.
LionheartExtensions uses Semantic Versioning.
Please read the documentation for further information.
Features
- CocoaPods support
- Helpers, utilities, and extensions for...
-
Array<T>
-
Bundle
-
CIImage
-
DateFormatter
-
FileManager
-
IndexPath
-
Int
-
NSDecimalNumber
-
NSRegularExpression
-
NSURLSession
-
Optional<T>
-
String
-
UIAlertController
-
UIColor
-
UIDevice
-
UIFont
-
UIImage
-
UIMultilineLabel
-
UIPrintPageRenderer
-
UIScreen
-
UITextField
-
UIViewController
-
UIView
-
UIWindow
-
XCTestCase
-
- Unit tests!
Installation
LionheartExtensions is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LionheartExtensions"
Documentation
See https://code.lionheart.software/LionheartExtensions/
License
LionheartExtensions is available under the Apache 2.0 license. See the LICENSE file for more info.