Home - leacode/SwiftWings GitHub Wiki
SwiftWings is A collection of Swift extensions. It supports iOS, macOS, tvOS, watchOS. You can also integrate the framework in your server-side project by using Swift Package Manager.
- iOS 8.0+ / macOS 10.10+
- Swift 5.0+
- Watch OS 2.0+
- TV OS 9.0+
- Linux can run Swift
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapodsSwiftWings is available through CocoaPods. To install it, simply add the following line to your Podfile:
use_frameworks!
target '<Your Target Name>' do
pod 'SwiftWings'
endThen, run the following command:
$ pod installCarthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthageTo integrate SwiftWings into your Xcode project using Carthage, specify it in your Cartfile:
github "leacode/SwiftWings"
Run carthage update to build the framework and drag the built SwiftWings.framework into your Xcode project.
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
To integrate SwiftWings into your Xcode project using Xcode 11, specify it in File > Swift Packages > Add:
https://github.com/leacode/SwiftWings
Add dependency in Package.swift:
dependencies: [
.package(url: "https://github.com/leacode/SwiftWings.git", from: "1.0.0"),
]
...
.target(name: "App", dependencies: ["SwiftWings", ...]),
...
Extensions
Chunyu Li
SwiftWings is available under the MIT license. See the LICENSE file for more info.