Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit 0115807

Browse files
committed
Fixed Module, PodSpecs and Carthage archive
1 parent 6602911 commit 0115807

File tree

14 files changed

+75
-71
lines changed

14 files changed

+75
-71
lines changed

IRLCamera.storyboard

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
7+
<deployment identifier="iOS"/>
78
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
89
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
910
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -12,7 +13,7 @@
1213
<!--Scanner View Controller-->
1314
<scene sceneID="ufC-wZ-h7g">
1415
<objects>
15-
<viewController storyboardIdentifier="CameraVC" id="vXZ-lx-hvc" customClass="IRLScannerViewController" customModuleProvider="target" sceneMemberID="viewController">
16+
<viewController storyboardIdentifier="CameraVC" id="vXZ-lx-hvc" customClass="IRLScannerViewController" sceneMemberID="viewController">
1617
<layoutGuides>
1718
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
1819
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
@@ -21,7 +22,7 @@
2122
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
2223
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
2324
<subviews>
24-
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GCS-Ur-8wm" customClass="IRLCameraView" customModuleProvider="target">
25+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GCS-Ur-8wm" customClass="IRLCameraView">
2526
<rect key="frame" x="0.0" y="20" width="375" height="647"/>
2627
<subviews>
2728
<imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ngc-U5-0Sq">
@@ -180,14 +181,14 @@
180181
<gestureRecognizers/>
181182
<constraints>
182183
<constraint firstItem="RfT-Bc-t45" firstAttribute="centerY" secondItem="frH-CJ-30O" secondAttribute="centerY" id="71Y-Xu-YtZ"/>
184+
<constraint firstItem="GCS-Ur-8wm" firstAttribute="bottom" secondItem="2fi-mo-0CV" secondAttribute="top" id="9Lb-t3-fsN"/>
183185
<constraint firstItem="frH-CJ-30O" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="10" id="AX3-wQ-673"/>
184-
<constraint firstItem="GCS-Ur-8wm" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" id="PHA-mb-MMZ"/>
186+
<constraint firstItem="GCS-Ur-8wm" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" id="BgH-6E-ere"/>
185187
<constraint firstAttribute="trailing" secondItem="GCS-Ur-8wm" secondAttribute="trailing" id="QV5-lk-X0M"/>
188+
<constraint firstItem="RfT-Bc-t45" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" id="SUE-X0-DbE"/>
186189
<constraint firstItem="GCS-Ur-8wm" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" id="U2w-WZ-lEB"/>
187-
<constraint firstItem="RfT-Bc-t45" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" id="UtT-JM-zkk"/>
188190
<constraint firstItem="RfT-Bc-t45" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" id="Uxh-YB-NAw"/>
189191
<constraint firstAttribute="trailing" secondItem="RfT-Bc-t45" secondAttribute="trailing" id="iHU-9P-exN"/>
190-
<constraint firstItem="GCS-Ur-8wm" firstAttribute="bottom" secondItem="2fi-mo-0CV" secondAttribute="top" id="rqF-2Q-0qr"/>
191192
</constraints>
192193
</view>
193194
<connections>

IRLDocumentScanner.framework.zip

0 Bytes
Binary file not shown.

IRLDocumentScanner.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = "IRLDocumentScanner"
12-
s.version = "0.2.3"
12+
s.version = "0.3.0"
1313
s.summary = "A Drop-in Document Scanner based View Controller."
1414
s.description = "A very simple to use class allowing you scan document with border detection."
1515
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
1616

1717
s.homepage = "https://github.com/charlymr/IRLDocumentScanner"
1818
s.authors = { 'Denis Martin' => '[email protected]' }
19-
s.source = { :git => 'https://github.com/charlymr/IRLDocumentScanner.git', :branch => 'master', :tag => '0.2.3'}
19+
s.source = { :git => 'https://github.com/charlymr/IRLDocumentScanner.git', :branch => 'master', :tag => '0.3.0'}
2020

2121
s.platform = :ios, '8.0'
2222

23+
s.module_name = 'IRLDocumentScanner'
2324
s.default_subspec = 'Default'
2425

2526
s.dependency 'TOCropViewController', '~> 2.3'

Source/IRLDocumentScanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Based on https://github.com/mmackh/IPDFCameraViewController
99
//
1010

11-
@import Availability;
11+
#import <Availability.h>
1212

1313
#ifndef __IPHONE_8_0
1414
#warning "This project uses features only available in iPhone SDK 8.0 and later."

Source/Public/IRLScannerViewController.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ + (instancetype)cameraViewWithDefaultType:(IRLScannerViewType)type
5252

5353
NSAssert(delegate != nil, @"You must provide a delegate");
5454

55-
IRLScannerViewController* cameraView = [[UIStoryboard storyboardWithName:@"IRLCamera" bundle:[NSBundle bundleForClass:self]] instantiateInitialViewController];
55+
NSBundle *iRLDocumentScannerBundle = [NSBundle bundleForClass:[IRLScannerViewController class]];
56+
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"IRLCamera" bundle:iRLDocumentScannerBundle];
57+
IRLScannerViewController* cameraView = [storyboard instantiateViewControllerWithIdentifier:@"CameraVC"];
5658
cameraView.cameraViewType = type;
5759
cameraView.detectorType = detector;
5860
cameraView.camera_PrivateDelegate = delegate;

demo/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PODS:
2-
- IRLDocumentScanner (0.2.3):
3-
- IRLDocumentScanner/Default (= 0.2.3)
2+
- IRLDocumentScanner (0.3.0):
3+
- IRLDocumentScanner/Default (= 0.3.0)
44
- TOCropViewController (~> 2.3)
5-
- IRLDocumentScanner/Default (0.2.3):
5+
- IRLDocumentScanner/Default (0.3.0):
66
- TOCropViewController (~> 2.3)
77
- TOCropViewController (2.3.4)
88

@@ -14,7 +14,7 @@ EXTERNAL SOURCES:
1414
:path: ..
1515

1616
SPEC CHECKSUMS:
17-
IRLDocumentScanner: 9331f2d6d220966373fe72a115a196e478a3d2e3
17+
IRLDocumentScanner: 23cf7f0a3ae66ee46af54a22141aa9e6deaf323c
1818
TOCropViewController: 808c9724904be931dd2de5f97fcccf4cc8f8b03f
1919

2020
PODFILE CHECKSUM: 33215c6da8b5132d7a127b02388901f868b65cd5

demo/Pods/Local Podspecs/IRLDocumentScanner.podspec.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/Pods/Manifest.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)