[UPDATE] V4
This commit is contained in:
parent
7b04bc4355
commit
b2d7dd5171
|
@ -1,7 +1,7 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = 'QRCodeReader.swift'
|
||||
s.module_name = 'QRCodeReader'
|
||||
s.version = '3.1.9'
|
||||
s.version = '4.0'
|
||||
s.license = 'MIT'
|
||||
s.summary = 'Simple QRCode and 1D bar code reader in Swift'
|
||||
s.homepage = 'https://github.com/yannickl/QRCodeReader.swift.git'
|
||||
|
@ -10,7 +10,7 @@ Pod::Spec.new do |s|
|
|||
s.source = { :git => 'https://github.com/yannickl/QRCodeReader.swift.git', :tag => s.version }
|
||||
s.screenshot = 'http://yannickloriot.com/resources/qrcodereader.swift-screenshot.jpg'
|
||||
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.ios.deployment_target = '8.3'
|
||||
|
||||
s.framework = 'AVFoundation'
|
||||
s.source_files = 'QRCodeReader/*.swift'
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||

|
||||
|
||||
The _QRCodeReader.swift_ was initialy a simple QRCode reader but it now lets you the possibility to specify the [format type](https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVMetadataMachineReadableCodeObject_Class/index.html#//apple_ref/doc/constant_group/Machine_Readable_Object_Types) you want to decode. It is based on the `AVFoundation` framework from Apple in order to replace ZXing or ZBar for iOS 8 and over.
|
||||
The _QRCodeReader.swift_ was initialy a simple QRCode reader but it now lets you the possibility to specify the [format type](https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVMetadataMachineReadableCodeObject_Class/index.html#//apple_ref/doc/constant_group/Machine_Readable_Object_Types) you want to decode. It is based on the `AVFoundation` framework from Apple in order to replace ZXing or ZBar for iOS 8.3 and over.
|
||||
|
||||
It provides a default view controller to display the camera view with the scan area overlay and it also provides a button to switch between the front and the back cameras.
|
||||
|
||||

|
||||
|
||||
*Note: the v4 is compatible with swift 1.2, use the v3 with XCode 6.2 or lower.*
|
||||
|
||||
### Installation
|
||||
|
||||
The recommended approach to use _QRCodeReaderViewController_ in your project is using the [CocoaPods](http://cocoapods.org/) package manager, as it provides flexible dependency management and dead simple installation.
|
||||
|
@ -25,10 +27,10 @@ $ cd /path/to/MyProject
|
|||
$ touch Podfile
|
||||
$ edit Podfile
|
||||
source 'https://github.com/CocoaPods/Specs.git'
|
||||
platform :ios, '8.0'
|
||||
platform :ios, '8.3'
|
||||
|
||||
use_frameworks!
|
||||
pod 'QRCodeReader.swift', '~> 3.1.8'
|
||||
pod 'QRCodeReader.swift', '~> 4.0.0'
|
||||
```
|
||||
|
||||
Install into your project:
|
||||
|
|
Loading…
Reference in New Issue