AurorKit is a collection of tools and extensions to help you develop apps for iOS, macOS, watchOS and tvOS platforms.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate AurorKit into your Xcode project using CocoaPods, specify it in your Podfile
:
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'AurorKit'
end
If you don't need all the features of AurorKit, you can also include only the necessary dependencies using submodules:
pod 'AurorKit/Extensions'
pod 'AurorKit/Events'
pod 'AurorKit/Log'
pod 'AurorKit/Device'
Finally 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 AurorKit into your Xcode project using Carthage, specify it in your Cartfile
:
github "almazrafi/AurorKit" ~> 0.1.0
Finally run carthage update
to build the framework and drag the built AurorKit.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 AurorKit into your Xcode project using Swift Package Manager, add the following as a dependency to your Package.swift
:
.package(url: "https://github.com/almazrafi/AurorKit.git", from: "0.1.0")
and then specify "AurorKit"
as a dependency of the Target in which you wish to use AurorKit.
Here's an example Package.swift
:
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(name: "MyPackage", targets: ["MyPackage"])
],
dependencies: [
.package(url: "https://github.com/almazrafi/AurorKit.git", from: "0.1.0")
],
targets: [
.target(name: "MyPackage", dependencies: ["AurorKit"])
]
)
If you prefer not to use dependency managers, you can integrate AurorKit into your project manually by adding the AurorKit folder to your Xcode project.
AurorKit is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 6 |
Last commit: 43 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics