Skip to content

Commit

Permalink
Version update
Browse files Browse the repository at this point in the history
  • Loading branch information
charlymr committed Nov 7, 2021
1 parent 6973a0b commit b245357
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Demo-Carthage/CartFile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "charlymr/IRLPDFScanContent" ~> 1.0.2
github "charlymr/IRLPDFScanContent" ~> 1.1.0
2 changes: 1 addition & 1 deletion Demo-Cocoapods/Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
platform :ios, '13.0'

target "IRLPDFScanDemo" do
pod 'IRLPDFScanContent', '~> 1.0.2'
pod 'IRLPDFScanContent', '~> 1.1.0'
use_frameworks!
end
16 changes: 0 additions & 16 deletions Demo-Cocoapods/Podfile.lock

This file was deleted.

4 changes: 2 additions & 2 deletions IRLPDFScanContent.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0.2;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.irlmobile.IRLPDFScanContent;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -375,7 +375,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0.2;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.irlmobile.IRLPDFScanContent;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# IRLPDFScanContent
Super easy `SwiftUI` & `UKKit` pakcage to scan: Images or PDF.
Super easy `SwiftUI` & `UKKit` pakcage to scan: Images or PDF. It is also a replacement for [IRLScannerViewController](https://github.com/charlymr/IRLDocumentScanner)

[![🍎 Documentation](https://raw.githubusercontent.com/charlymr/IRLPDFScanContent/main/documentationicon.png)](https://irlpdfscancontent.irlmobile.com/documentation/) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=charlymr_IRLPDFScanContent&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=charlymr_IRLPDFScanContent) [![Version](https://img.shields.io/cocoapods/v/IRLPDFScanContent.svg?style=flat)](http://cocoapods.org/pods/IRLPDFScanContent) [![Platform](https://img.shields.io/cocoapods/p/IRLPDFScanContent.svg?style=flat)](http://cocoapods.org/pods/IRLPDFScanContent) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![licence MIT](https://shields.io/badge/license-MIT-%23373737)](https://github.com/charlymr/IRLPDFScanContent/blob/main/LICENSE)
Expand All @@ -10,6 +10,16 @@ A convenient class usable from `UIKit` view controller or `SwiftUI` to scan docu

**MINIMUM iOS REQUIREMENT: 13.0**


## Migration from [IRLScannerViewController](https://github.com/charlymr/IRLDocumentScanner)
Migration from [IRLScannerViewController](https://github.com/charlymr/IRLDocumentScanner) is feasible. Please check the tutorial available in the [documentation](https://irlpdfscancontent.irlmobile.com/documentation/).

#### You project should still work with depreciation warnings
Follow the [tutorial](https://irlpdfscancontent.irlmobile.com/documentation/) to see how to beneficiate from the new system & remove the depreciation warnings.

One quick note, the new system support multiple scan. In this tutorial we cover how to get 1 scan. It is very straigth forward to get eveything else, check the doc.


## Application plist requirement

As of iOS 10, you must povide a reason for using the camera in you Info.plist:
Expand Down Expand Up @@ -41,7 +51,7 @@ let package = Package(
targets: ["SPMDemo"]),
],
dependencies: [
.package(url: "git@github.com:charlymr/IRLPDFScanContent.git", from: "1.0.2"),
.package(url: "git@github.com:charlymr/IRLPDFScanContent.git", from: "1.1.0"),
],
targets: [
.target( name: "SPMDemo",
Expand Down Expand Up @@ -101,7 +111,7 @@ $ cd /path/to/MyProject
$ touch CartFile
## edit CartFile:

github "charlymr/IRLPDFScanContent" ~> 1.0.2
github "charlymr/IRLPDFScanContent" ~> 1.1.0
```

#### Prepare
Expand Down
2 changes: 2 additions & 0 deletions Sources/IRLPDFScanContent/Exports.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ public enum IRLPDFScanContentVersion: String {

/// Minor Versions
case v1_0 = "1.0"
case v1_1 = "1.1"

/// Patch Versions
case v1_0_0 = "1.0.0"
case v1_0_1 = "1.0.1"
case v1_0_2 = "1.0.2"
case v1_1_0 = "1.1.0"

}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let package = Package(
targets: ["SPMDemo"]),
],
dependencies: [
.package(url: "git@github.com:charlymr/IRLPDFScanContent.git", from: "1.0.2"),
.package(url: "git@github.com:charlymr/IRLPDFScanContent.git", from: "1.1.0"),
],
targets: [
.target( name: "SPMDemo",
Expand Down Expand Up @@ -101,7 +101,7 @@ $ cd /path/to/MyProject
$ touch CartFile
## edit CartFile:

github "charlymr/IRLPDFScanContent" ~> 1.0.2
github "charlymr/IRLPDFScanContent" ~> 1.1.0
```

#### Prepare
Expand Down

Large diffs are not rendered by default.

0 comments on commit b245357

Please sign in to comment.