Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hucong730/hcextension
extension of swift
https://github.com/hucong730/hcextension
cocoapods extension ios objective-c package-manager swift
Last synced: about 1 month ago
JSON representation
extension of swift
- Host: GitHub
- URL: https://github.com/hucong730/hcextension
- Owner: hucong730
- License: mit
- Created: 2020-04-08T03:46:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T16:30:35.000Z (almost 5 years ago)
- Last Synced: 2024-12-21T10:42:40.660Z (about 1 month ago)
- Topics: cocoapods, extension, ios, objective-c, package-manager, swift
- Language: Swift
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HCExtension
[![CI Status](https://img.shields.io/travis/hucong730/HCExtension.svg?style=flat)](https://travis-ci.org/hucong730/HCExtension)
[![Version](https://img.shields.io/cocoapods/v/HCExtension.svg?style=flat)](https://cocoapods.org/pods/HCExtension)
[![License](https://img.shields.io/cocoapods/l/HCExtension.svg?style=flat)](https://cocoapods.org/pods/HCExtension)
[![Platform](https://img.shields.io/cocoapods/p/HCExtension.svg?style=flat)](https://cocoapods.org/pods/HCExtension)## 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](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'HCExtension'
```### Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your `Package.swift`:
```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
// swift-tools-version:5.0
import PackageDescriptionlet 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, [email protected]
## License
HCExtension is available under the MIT license. See the LICENSE file for more info.