Font-Awesome alternatives and similar libraries
Based on the "Fonts" category.
Alternatively, view Font-Awesome alternatives based on common mentions on social networks and blogs.
-
SwiftIconFont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon) -
Swicon
Use 1600+ icons (and more!) from FontAwesome and Google Material Icons in your swift/iOS project in an easy and space-efficient way!
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Font-Awesome or a related project?
README
Font-Awesome
Use Font Awesome in project written in Swift. If you hope to use lastest edition, it is possible by Font-Awesome
.
Font-Awesome
supports the input with Unicode.
Requirements
- iOS 7.0+
- Xcode 6.1
Installation
- Copy
Font-Awesome
directory into your project - Download zip file from https://fortawesome.github.io/Font-Awesome/
- Copy
FontAwesome.otf
from zip file into your project - Check to import
FontAwesome.otf
in project, "Project" > "Target" > "Copy Bundle Resources"
Features
- [x] Support Unicode from String or Int. not use UInt
- [x] Support extension UIButton.
- [x] Support extension UIBarButtonItem
- [x] Support extension UIImageView
- [ ] Support Cocoapods
Usage
- Set UIFont with size
let font = UIFont.fontAwesome(size: 40)
- Set String with Unicode
Use String or Int
extension String {
static func fontAwesome(unicode fontAwesome: UnicodeLiteralConvertible) -> String
}
String.fontAwesome(unicode: 0xf092) // Int
String.fontAwesome(unicode: "f092") // String
Example
- Use extension ```swift // UIButton let button = UIButton(frame: frame) button.setTitleColor(UIColor.blueColor(), forState: .Normal) button.setFontAwesome(fontAwesome: "f081", forState: .Normal)
// UIBarButtonItem let barButtonItem = UIBarButtonItem(fontAwesome: "f002", target: nil, action: nil) // f002 = fa-search navigationItem.rightBarButtonItem = barButtonItem
// UILabel let label = UILabel(frame: frame) label.font = UIFont.fontAwesome(size: 40) label.text = String.fontAwesome(unicode: 0xf092) // f092 = fa-github-square
// UIImageView let imageView = UIImageView(frame: frame) imageView.fontAwesome(fontAwesome: "f087")
LICENSE
-----------
Font-Awesome is available under the MIT license.
Credit
-----------
### Font Awesome
The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0. A mention of Font Awesome - http://fortawesome.github.com/Font-Awesome in human-readable source code is considered acceptable attribution (most common on the web). If human readable source code is not available to the end user, a mention in an 'About' or 'Credits' screen is considered acceptable (most common in desktop or mobile software).
*Note that all licence references and agreements mentioned in the Font-Awesome README section above
are relevant to that project's source code only.