SwiftWings
is A collection of Swift extensions. It support iOS, macOS, tvOS, watchOS. You can also integrate the framework in your server-side project by using Swift Package Manager.
- iOS 12.0+ / macOS 10.11+
- Swift 5.0+
- Watch OS 2.0+
- TV OS 9.0+
- Linux can run Swift
If you're supporting iOS 8+ and macOS 10.xx, you can specify version of v1.5
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
SwiftWings is available through CocoaPods. To install it, simply add the following line to your Podfile:
use_frameworks!
target '<Your Target Name>' do
pod 'SwiftWings'
end
Then, run the following command:
$ pod install
Carthage 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 carthage
To 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 project , specify it in File > Swift Packages > Add
:
https://github.com/leacode/SwiftWings
From 1.6.0 the framework support Mac os >= 11.0.
Add dependency in Package.swift:
dependencies: [
.package(url: "https://github.com/leacode/SwiftWings.git", from: "1.9.0"),
]
...
.target(name: "App", dependencies: ["SwiftWings", ...]),
...
Extensions
Chunyu Li
SwiftWings
is available under the MIT license. See the LICENSE file for more info.