Backpack is a collection of design resources, reusable components and guidelines for creating Skyscanner's products.
| Pod | Version |
|---|---|
| Backpack-Common | |
| Backpack | |
| Backpack-SwiftUI |
Backpack is available through CocoaPods. To install all of it, simply add the following line to your Podfile:
pod 'Backpack'Backpack is also available for SwiftUI. To install, simply add the following line to your Podfile:
Backpack-SwiftUI is currently in development and supports a subset of components only.
pod 'Backpack-SwiftUI'If you want to experiment with Backpack through Swift Package Manager, open Example/Backpack-SPM.xcworkspace. The workspace shares the same example app targets but resolves Backpack, Backpack-SwiftUI, Backpack-Common, and Backpack-Fonts through the package manifest instead of CocoaPods. The Backpack-Native target runs the Backpack-Fonts/Scripts/download-relative-fonts.rb helper automatically so Skyscanner employees always get the proprietary fonts; ensure you have the required network/VPN access (see Relative font).
To learn more about the available Backpack components on iOS head over the Backpack documentation site or check out the reference documentation.
Please see the Contributing guide for instructions on contributing to this project.
We follow a set of principles that are stated in the Backpack documentation site
Backpack is available under the Apache 2.0 license. See the LICENSE file for more info.