Skip to content

hucong730/HCExtension

Repository files navigation

HCExtension

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

HCExtension is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'HCExtension'

Swift Package Manager

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"])
    ]
)

Author

hucong730, wddyzzw@icloud.com

License

HCExtension is available under the MIT license. See the LICENSE file for more info.