CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Sep 2016 |
| SPMSupports SPM | ✓ |
Maintained by Josh Baker.
Ionicons integration for Swift and iOS.
Built for Swift 3.0 - for older versions of swift please use the swift\1.2 and swift\2.0 branches.
enum type and two methods.UIImage or UILabel Carthage: Add github tidwall/IoniconsSwift to your Cartfile.
CocoaPods: Add pod 'IoniconsSwift', :git => 'http://github.com/cdebortoli/IoniconsSwift.git', :branch => 'cocoapods' to your Podfile.
import IoniconsSwift
// Square UIImage of an icon.
let image = Ionicons.alert.image(35)
let image = Ionicons.iosClock.image(35, color: UIColor.greenColor())
// Square UILabel
let label = Ionicons.alert.label(35)
let label = Ionicons.iosClock.label(35, color: UIColor.greenColor())
Josh Baker @tidwall
The IoniconsSwift source code is available under the MIT License.