Latest 1.2.0
Homepage https://github.com/LiveUI/Awesome
License MIT
Platforms ios 9.0, tvos 9.0, osx 10.11
Authors

Awesome

Slack
Version
License
Platform

Super easy to use library containing the brand new FontAwesome 5, completely redesigned for Swift 4

Slack

Get help using and installing this product on our Slack, channel #help-awesome

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Awesome is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'AwesomeEnum'

for Carthage just do:

github "LiveUI/Awesome"

Usage

Import will be slightly different for Cocoapods/Carthage. Sorry for the confusion of names but some unreasonable fellow has already registered an Awesome pod before us :).

import AwesomeSwift // Cocoapods
import Awesome // Carthage

All icons are available through autogenerated enums like this:

let image = Awesome.solid.handScissors.asImage(size: 40.0)
// or
let image = Awesome.brand.android.asImage(size: CGSize(width: 40, height: 40), color: .red, backgroundColor: .blue) // :trollface:
// or
let attributedText = Awesome.regular.envelopeOpen.asAttributedText(fontSize: 17, color: .red, backgroundColor: .blue)

Author

Ondrej Rafaj , [email protected]

License

Awesome is available under the MIT license. See the LICENSE file for more info. All fonts are property of Font Awesome!

Latest podspec

{
    "name": "AwesomeEnum",
    "version": "1.2.0",
    "summary": "Swift implementation of Font Awesome 5!",
    "swift_version": "4.0",
    "description": "Swift implementation of Font Awesome 5 allows you to implement this amazing web font on iOS, tvOS and macOS devices easily!",
    "homepage": "https://github.com/LiveUI/Awesome",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ondrej Rafaj": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LiveUI/Awesome.git",
        "tag": "1.2.0"
    },
    "social_media_url": "https://twitter.com/rafiki270",
    "platforms": {
        "ios": "9.0",
        "tvos": "9.0",
        "osx": "10.11"
    },
    "source_files": "Classes/**/*",
    "resource_bundles": {
        "Awesome": [
            "Assets/*.ttf"
        ]
    },
    "ios": {
        "frameworks": [
            "UIKit",
            "CoreText",
            "CoreGraphics"
        ]
    },
    "tvos": {
        "frameworks": [
            "UIKit",
            "CoreText",
            "CoreGraphics"
        ]
    },
    "osx": {
        "frameworks": [
            "Cocoa",
            "CoreText",
            "CoreGraphics"
        ]
    }
}

Pin It on Pinterest

Share This