Capsule
A collection of Swift iOS protocols and wrappers for native iOS libraries and frameworks.
What this means
This project contains many protocols, wrappers, property wrappers, and builders that can be used with accompanying fakes for simple unit testing.
Adding Capsule to your project
CocoaPods
CocoaPods is the recommended way to add Capsule
to your project:
- Add Capsule to your Podfile
pod 'Capsule'
. - Install the pod(s) by running
pod install
.
Swift Package manager
Swift Package Manager can be used to add Capsule
the to your project:
- Add
.package(url: "https://github.com/rbaumbach/Capsule", from: "1.1.0")
- Follow intructions to add the Capsule package to your project.
Clone from Github
- Clone repository from github and copy files directly, or add it as a git submodule.
- Add all files from
Source
directory to your project.
Building
This project has been setup to use fastlane to run the specs.
First, bundle required gems and then install Cocoapods when in the project directory:
$ bundle
$ bundle exec pod install
And then use fastlane to run all the specs on the command line:
$ bundle exec fastlane build
Suggestions, requests, and feedback
Thanks for checking out Capsule
. Any feedback, suggestions and feedback can be can be sent to: [email protected], or opened as a github issue.