Latest 2.1.4
Homepage https://github.com/tidwall/IoniconsSwift
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Ionicons integration for Swift and iOS.

Built for Swift 3.0 – for older versions of swift please use the swift1.2 and swift2.0 branches.

Features

  • Includes all 732 icons.
  • Tiny API, just one enum type and two methods.
  • All icons are always balanced and squared.
  • Generate icons as UIImage or UILabel

Installation

Carthage: Add github tidwall/IoniconsSwift to your Cartfile.
CocoaPods: Add pod 'IoniconsSwift', :git => 'http://github.com/tidwall/IoniconsSwift.git', :branch => 'master' to your Podfile.

Example

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()) 

Contact

Josh Baker @tidwall

License

The IoniconsSwift source code is available under the MIT License.

Latest podspec

{
    "name": "IoniconsSwift",
    "version": "2.1.4",
    "summary": "Ionicons for Swift and iOS",
    "homepage": "https://github.com/tidwall/IoniconsSwift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Josh Baker": "[email protected]"
    },
    "social_media_url": "http://twitter.com/tidwall",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/tidwall/IoniconsSwift.git",
        "tag": "2.1.4"
    },
    "source_files": "IoniconsSwift/*.swift",
    "resources": [
        "IoniconsSwift/*.ttf"
    ],
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This