TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2016 |
SPMSupports SPM | ✓ |
Maintained by JARM.
To use Slip as a Swift Package Manager package just add the following in your Package.swift file.
import PackageDescription
let package = Package(
name: "Slip",
dependencies: [
.Package(url: "https://github.com/SwiftKidz/Slip.git", "0.0.5")
]
)
If you prefer not to use either of the aforementioned dependency managers, you can integrate Slip into your project manually.
cd
into your top-level project directory, and run the following command “if” your project is not initialized as a git repository:$ git init
$ git submodule add https://github.com/SwiftKidz/Slip.git
$ git submodule update --init --recursive
Open the new Slip
folder, and drag the Slip.xcodeproj
into the Project Navigator of your application’s Xcode project.
It should appear nested underneath your application’s blue project icon. Whether it is above or below all the other Xcode groups does not matter.
Select the Slip.xcodeproj
in the Project Navigator and verify the deployment target matches that of your application target.
+
button under the “Embedded Binaries” section.You will see two different Slip.xcodeproj
folders each with two different versions of the Slip.framework
nested inside a Products
folder.
It does not matter which
Products
folder you choose from.
Select the Slip.framework
.
And that’s it!
The
Slip.framework
is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
+
button under the “Embedded Binaries” section.Slip.framework
.Slip is released under the MIT license. See LICENSE for details.