Wallet - A library to manage cards and passes
Wallet
Wallet is a replica of the Apple’s Wallet interface. Add, delete or present your cards and passes.
Feel free to use this pod in your project and add any other functionality to the Wallet.
Please, contribute and send pull requests!
Requirements
- iOS 11.0+
- Swift 5
Apps using Wallet
Send a PR to add your app here
Preview
Example
To run the example application use pod try
:
In a terminal, simply execute:
$ pod try Wallet
and run the target named Wallet-Example
in Xcode.
Getting Started
-
-
Add the following lines to your Podfile:
pod 'Wallet'
-
Run
pod install
-
You are all set!
-
-
-
Add the following line to your Cartfile:
github "rshevchuk/Wallet"
-
Run
carthage update
. -
On your application targets’
General
settings tab, in theLinked Frameworks and Libraries
section:- Drag & drop the following frameworks from
Carthage/Build
folder on disk:
- Drag & drop the following frameworks from
-
On your application targets’
Build Phases
tab:-
Click
+
icon and chooseNew Run Script Phase
. -
Create a script with a shell of your choice (e.g.
/bin/sh
). -
Add the following to the script area below the shell:
/usr/local/bin/carthage copy-frameworks
-
Add the paths to the frameworks you want to use under
Input Files
, for example:$(SRCROOT)/Carthage/Build/iOS/Wallet.framework
-
-
Documentation
Documentation for Wallet can be found on CocoaDocs.org.
License
Wallet is available under the MIT license. See the LICENSE file for more info.