🎨 Swift library that creates colors quickly and easily using HEX values.
First, import UIKobeKit.
import UIKobeKitDeclare a variable and initialize UIColor.
let myColor = UIColor(
hexCode: <#T##String#>,
alpha: <#T##CGFloat#>
)Enter the desired value for each parameter.
let myColor = UIColor(
hexCode: "9A7C9F",
alpha: 1.0
)The Swift Package Manageris a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding UIKobeKit as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/devKobe24/UIKobeKit.git", .upToNextMajor(from: "0.3.1"))
]CocoaPodsis a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate UIKobeKit into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'UIKobeKit'