To run the example project, clone the repo, and run pod install
from the Example directory first.
HCExtension is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'HCExtension'
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift
:
.package(url: "https://github.com/hucong730/HCExtension.git", .upToNextMajor(from: "0.4.1"))
and then specify "HCExtension"
as a dependency of the Target in which you wish to use HCExtension.
Here's an example PackageDescription
:
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "https://github.com/hucong730/HCExtension.git", .upToNextMajor(from: "0.4.1"))
],
targets: [
.target(
name: "MyPackage",
dependencies: ["HCExtension"])
]
)
hucong730, [email protected]
HCExtension is available under the MIT license. See the LICENSE file for more info.