IoniconsKit internally use ionicons.ttf v2.0.1
To run the example project, clone the repo, and run pod install
from the Example directory first.
someLabel.font = UIFont.ionicon(of: 18)
someLabel.text = String.ionicon(with: .socialTwitter)
someImageView.image = UIImage.ionicon(with: .socialFacebook, textColor: UIColor.orange, size: CGSize(width: 18, height: 18))
For another icons, plaease see the source, or build Example App.
Target | Version |
---|---|
iOS | => 10.0 |
Swift | => 5.0 |
IoniconsKit is available through CocoaPods or Carthage.
pod "IoniconsKit"
github "keitaoouchi/IoniconsKit"
for detail, please follow the Carthage Instruction
keita.oouchi, keita.oouchi@gmail.com
ionicons.ttf file is licensed under MIT license.
IoniconsKit is available under the MIT license. See the LICENSE file for more info.