FontAwesomeIconFactory
A factory for turning Font Awesome icons into images for user interface controls. Works for iOS and OS X.
Font Awesome was created by Dave Gandy. http://fortawesome.github.com/Font-Awesome
FontAwesomeIconFactory was created by Nikolaj Schumacher.
Setup
CocoaPods
Add the following to your Podfile:
pod 'FontAwesomeIconFactory'
Then run pod install
as usual.
Changes
3.0
- Updates Font Awesome to version 4.2.0 for new and changed icons.
- Full annotations for better Swift names
- Fixes bar button icon default rendering mode
2.1.0
- Fixes a naming regression in the Swift version of the enum.
2.1
- Updates Font Awesome to version 4.2.0 for new and changed icons.
- Fixed for usage with Xcode 7.
2.0.2
- FontAwesome is now a proper framework and supports Carthage.
2.0.1
- Fix clipped icons
- Annotated generic collection types for Swift 2.
2.0
- Updates Font Awesome to version 4.3.0 for new and changed icons.
- Annotated for nicer use in Swift.
- Support for adding icons to iOS controls in Interface Builder.
1.4
- Updates Font Awesome to version 4.2.0 for new and changed icons.
1.3
- Updates Font Awesome to version 4.0.3 for new and changed icons.
- On iOS 7
renderingMode
is now adjusted automatically when setting a color.
1.2.1
- Updates Font Awesome to version 3.2.1.
- Butter support for iOS 7 by allowing to override
renderingMode
.
1.2
- Updates Font Awesome to version 3.2 for new and changed icons.
- The images now actually have the exact height (and width if
square
is set) specified in thesize
property. Get the old behavior (where the image is only as high as needed) by settingpadded
toNO
. The predefined factories have been adjusted in size.
1.1
- Updates Font Awesome to version 3.1.1 for 54 new icons.
1.0.1
- Removes the need to modify the Info.plist.