SwiftWings
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.
Requirements
- iOS 9.0+ / macOS 10.10+
- Swift 5.0+
- Watch OS 2.0+
- TV OS 9.0+
- Linux can run Swift
Installation
CocoaPods
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
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.
Swift Package Manager
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.
iOS/ MacOS:
To integrate SwiftWings
into your Xcode project using Xcode 11, specify it in File > Swift Packages > Add
:
https://github.com/leacode/SwiftWings
Server Side:
Add dependency in Package.swift:
dependencies: [
.package(url: "https://github.com/leacode/SwiftWings.git", from: "1.0.0"),
]
...
.target(name: "App", dependencies: ["SwiftWings", ...]),
...
List of Extensions
Extensions
Author
Chunyu Li
License
SwiftWings
is available under the MIT license. See the LICENSE file for more info.