https://github.com/payneteasy/readerexampleswift
Example mPOS ios application for Miura (Shuttle, M010) and Spire (spm2, spm20)
https://github.com/payneteasy/readerexampleswift
Last synced: 8 months ago
JSON representation
Example mPOS ios application for Miura (Shuttle, M010) and Spire (spm2, spm20)
- Host: GitHub
- URL: https://github.com/payneteasy/readerexampleswift
- Owner: payneteasy
- Created: 2016-10-22T10:53:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-10T20:42:55.000Z (about 9 years ago)
- Last Synced: 2024-12-28T15:38:21.936Z (over 1 year ago)
- Language: Swift
- Size: 14.6 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of using PaynetEasyReader library to integrate Miura or Spire mPOS
[](https://travis-ci.org/payneteasy/ReaderExampleSwift)
## How to build this project
#### Set up the project dependencies
```
pod install
```
#### Open workspace
open ReaderExampleSwift.xcworkspace
## How to integrate the SDK to your swift project
* Create `Podfile` and add *PaynetEasyReader* podspec to it
* Run `pod install`
* Run `open your-project.xcworkspace`
* Add *Bridging-Header.h* file to your project
```obj-c
#ifndef Bridging_Header_h
#define Bridging_Header_h
#import
#import
#import
#import
#import
#import
#import
#import
#import
#import
#import
#endif /* Bridging_Header_h */
```
* Drug the *Bridging-Header.h* file to *Build Settings / Objective-C Bridging Header*
* Add to your *-Info.plist
```xml
UISupportedExternalAccessoryProtocols
com.miura.shuttle
com.thyron
```