An ordinary iconfont cocoapods package helps you to use iconfont more easily in your project, in Swift.
To run the example project manually, clone the repo, demo is in the 'Example' folder, then open
EFIconFont.xcworkspace with Xcode and select the target you want, run.
Or you can run the following command in terminal:
git clone [email protected]:EFPrefix/EFIconFont.git; cd EFIconFont/Example; pod install; open EFIconFont.xcworkspace
- iOS 8.0+
- Swift 4.2+
EFIconFont is available through CocoaPods. To install it, simply add the following line to your Podfile:
You can get built-in iconfonts with
subspecs, for example you will get icons of
FontAwesome by the following way:
pod 'EFIconFont', :subspecs => ['AntDesign', 'FontAwesome']
You can also choose to get all built-in packs by using
pod 'EFIconFont', :subspecs => ['Complete']
Then, run the following command: