IoniconsKit is an efficient library for coding with various iOS icons. To know more about the different services and usage guidelines in IoniconsKit, continue reading.
What is IoniconsKit?
IoniconsKit is a Swift and Objective-C wrapper for Ionicons, which allows you to use ionicons in your iOS projects efficiently. The library integrates well with other components and supports customization.
Integration
You can integrate IoniconsKit into your project using any of the following ways:
- Manual Installation: Download the library and drag the ‘IoniconsKit.xcodeproj’ into your own project. Then, add ‘IoniconsKit.framework’ to your project’s Embedded Binaries.
- CocoaPods: Ensure you have CocoaPods installed in your device. Then, create a Podfile with IoniconsKit as a pod, and run ‘pod install’ in the terminal.
- Carthage: You can also use Carthage to integrate by adding github “keitaoouchi/IoniconsKit” to your ‘Cartfile’ and run ‘carthage update’.
Using IoniconsKit
Including IoniconsKit in your project is simple:
import IoniconsKit
After importing, you can use the ionicons in UIButton, UIImageView or UILabel. Here’s a sample usage:
let icon = Ionicons.alertCircled.image(35, color: UIColor.red)
Contact
If you have any issues or suggestions about IoniconsKit, feel free to report them in the GitHub repository.
License
IoniconsKit is available under the MIT license. You can find this information in the ‘LICENSE’ file in the repository.