Navigation Menu

Skip to content

Commit

Permalink
2019-06-15-ScanningDocuments
Browse files Browse the repository at this point in the history
  • Loading branch information
julianschiavo committed Jun 15, 2019
1 parent 5853a01 commit 6edf0be
Show file tree
Hide file tree
Showing 32 changed files with 1,061 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions 2019-06-15-ScanningDocuments/Podfile
@@ -0,0 +1,6 @@
platform :ios, '12.1'
use_frameworks!

target 'ScanningDocuments' do
pod 'WeScan', '>= 0.9'
end
16 changes: 16 additions & 0 deletions 2019-06-15-ScanningDocuments/Podfile.lock
@@ -0,0 +1,16 @@
PODS:
- WeScan (1.0.0)

DEPENDENCIES:
- WeScan (>= 0.9)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- WeScan

SPEC CHECKSUMS:
WeScan: a049a4a2a0eb1c4560cf649ebd933d07b0d9ef4c

PODFILE CHECKSUM: d22881a0e2e5c28330e9b6d70931cec3d7a6d079

COCOAPODS: 1.6.0
1 change: 1 addition & 0 deletions 2019-06-15-ScanningDocuments/README.md
@@ -0,0 +1 @@
This is the example code for my blog post, which is available here: [https://schiavo.me/2019/scanning-documents/](https://schiavo.me/2019/scanning-documents/)
@@ -0,0 +1,351 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
B921C53322B4CF6F00B3D28D /* BoundingBoxImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B921C53222B4CF6F00B3D28D /* BoundingBoxImageView.swift */; };
B921C53522B4DC2F00B3D28D /* UIImageView-ImageRect.swift in Sources */ = {isa = PBXBuildFile; fileRef = B921C53422B4DC2F00B3D28D /* UIImageView-ImageRect.swift */; };
B9945CD42220215F00D0D511 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9945CD32220215F00D0D511 /* AppDelegate.swift */; };
B9945CD62220215F00D0D511 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9945CD52220215F00D0D511 /* ViewController.swift */; };
B9945CD92220215F00D0D511 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B9945CD72220215F00D0D511 /* Main.storyboard */; };
B9945CDB2220216100D0D511 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B9945CDA2220216100D0D511 /* Assets.xcassets */; };
B9945CDE2220216100D0D511 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B9945CDC2220216100D0D511 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
B921C53222B4CF6F00B3D28D /* BoundingBoxImageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BoundingBoxImageView.swift; sourceTree = "<group>"; };
B921C53422B4DC2F00B3D28D /* UIImageView-ImageRect.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIImageView-ImageRect.swift"; sourceTree = "<group>"; };
B9945CD02220215F00D0D511 /* ScanningDocuments.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScanningDocuments.app; sourceTree = BUILT_PRODUCTS_DIR; };
B9945CD32220215F00D0D511 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
B9945CD52220215F00D0D511 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
B9945CD82220215F00D0D511 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
B9945CDA2220216100D0D511 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
B9945CDD2220216100D0D511 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
B9945CDF2220216100D0D511 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
B9945CCD2220215F00D0D511 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
B9945CC72220215F00D0D511 = {
isa = PBXGroup;
children = (
B9945CD22220215F00D0D511 /* ScanningDocuments */,
B9945CD12220215F00D0D511 /* Products */,
);
sourceTree = "<group>";
};
B9945CD12220215F00D0D511 /* Products */ = {
isa = PBXGroup;
children = (
B9945CD02220215F00D0D511 /* ScanningDocuments.app */,
);
name = Products;
sourceTree = "<group>";
};
B9945CD22220215F00D0D511 /* ScanningDocuments */ = {
isa = PBXGroup;
children = (
B9945CD32220215F00D0D511 /* AppDelegate.swift */,
B9945CD52220215F00D0D511 /* ViewController.swift */,
B921C53222B4CF6F00B3D28D /* BoundingBoxImageView.swift */,
B921C53422B4DC2F00B3D28D /* UIImageView-ImageRect.swift */,
B9945CD72220215F00D0D511 /* Main.storyboard */,
B9945CDA2220216100D0D511 /* Assets.xcassets */,
B9945CDC2220216100D0D511 /* LaunchScreen.storyboard */,
B9945CDF2220216100D0D511 /* Info.plist */,
);
path = ScanningDocuments;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
B9945CCF2220215F00D0D511 /* ScanningDocuments */ = {
isa = PBXNativeTarget;
buildConfigurationList = B9945CE22220216100D0D511 /* Build configuration list for PBXNativeTarget "ScanningDocuments" */;
buildPhases = (
B9945CCC2220215F00D0D511 /* Sources */,
B9945CCD2220215F00D0D511 /* Frameworks */,
B9945CCE2220215F00D0D511 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = ScanningDocuments;
productName = ScanningDocuments;
productReference = B9945CD02220215F00D0D511 /* ScanningDocuments.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
B9945CC82220215F00D0D511 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1010;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "Julian Schiavo";
TargetAttributes = {
B9945CCF2220215F00D0D511 = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = B9945CCB2220215F00D0D511 /* Build configuration list for PBXProject "ScanningDocuments" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = B9945CC72220215F00D0D511;
productRefGroup = B9945CD12220215F00D0D511 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
B9945CCF2220215F00D0D511 /* ScanningDocuments */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
B9945CCE2220215F00D0D511 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B9945CDE2220216100D0D511 /* LaunchScreen.storyboard in Resources */,
B9945CDB2220216100D0D511 /* Assets.xcassets in Resources */,
B9945CD92220215F00D0D511 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
B9945CCC2220215F00D0D511 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B921C53322B4CF6F00B3D28D /* BoundingBoxImageView.swift in Sources */,
B921C53522B4DC2F00B3D28D /* UIImageView-ImageRect.swift in Sources */,
B9945CD62220215F00D0D511 /* ViewController.swift in Sources */,
B9945CD42220215F00D0D511 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
B9945CD72220215F00D0D511 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
B9945CD82220215F00D0D511 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
B9945CDC2220216100D0D511 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
B9945CDD2220216100D0D511 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
B9945CE02220216100D0D511 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
B9945CE12220216100D0D511 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
B9945CE32220216100D0D511 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 74N8K5J2N7;
INFOPLIST_FILE = ScanningDocuments/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.julianschiavo.ScanningDocuments;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = 1;
};
name = Debug;
};
B9945CE42220216100D0D511 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 74N8K5J2N7;
INFOPLIST_FILE = ScanningDocuments/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.julianschiavo.ScanningDocuments;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = 1;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
B9945CCB2220215F00D0D511 /* Build configuration list for PBXProject "ScanningDocuments" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B9945CE02220216100D0D511 /* Debug */,
B9945CE12220216100D0D511 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
B9945CE22220216100D0D511 /* Build configuration list for PBXNativeTarget "ScanningDocuments" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B9945CE32220216100D0D511 /* Debug */,
B9945CE42220216100D0D511 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = B9945CC82220215F00D0D511 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit 6edf0be

Please sign in to comment.