From 2289a117c4019713db6dcd97ed78d22364555fbb Mon Sep 17 00:00:00 2001 From: Taylor Allred Date: Thu, 28 Jul 2016 13:29:10 -0600 Subject: [PATCH] Added in most of the code for the lib. Just need to find a cropper lib, and add in the public function. --- Example/IZExample.xcodeproj/project.pbxproj | 24 ++++++++++----------- Pod/Classes/IZImagePicker.swift | 1 - 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/Example/IZExample.xcodeproj/project.pbxproj b/Example/IZExample.xcodeproj/project.pbxproj index bd36865..dbd87e3 100644 --- a/Example/IZExample.xcodeproj/project.pbxproj +++ b/Example/IZExample.xcodeproj/project.pbxproj @@ -14,7 +14,7 @@ 349A34B51BF54EE100725CB2 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 349A34B31BF54EE100725CB2 /* LaunchScreen.storyboard */; }; 349A34C31BF54F6500725CB2 /* IZExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 349A34C21BF54F6500725CB2 /* IZExampleTests.swift */; }; 349C52961D1B808B0015D5CE /* Izeni.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 349C52921D1B7A970015D5CE /* Izeni.framework */; }; - B666C1602797144D19F83511 /* Pods_IZExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F1C8FD0C49FB7AF5D68540 /* Pods_IZExample.framework */; }; + 8952BFBC84E3CB5BC1015646 /* Pods_IZExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FBFBEBD95B542FC91542896C /* Pods_IZExample.framework */; }; F3B9BFFE1CA2F8AB00114961 /* IZImagePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3B9BFFD1CA2F8AB00114961 /* IZImagePicker.swift */; }; /* End PBXBuildFile section */ @@ -40,10 +40,10 @@ 349A34C21BF54F6500725CB2 /* IZExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IZExampleTests.swift; sourceTree = ""; }; 349A34C41BF54F6500725CB2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 349C52921D1B7A970015D5CE /* Izeni.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Izeni.framework; path = Carthage/Build/iOS/Izeni.framework; sourceTree = ""; }; - 4EFE6D07E3D322D00602C5D7 /* Pods-IZExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IZExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-IZExample/Pods-IZExample.debug.xcconfig"; sourceTree = ""; }; - 72F1C8FD0C49FB7AF5D68540 /* Pods_IZExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_IZExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D3245F8FCAE1E7255101A41A /* Pods-IZExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IZExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-IZExample/Pods-IZExample.release.xcconfig"; sourceTree = ""; }; + 8482029412CFB0FE2FEC0B5E /* Pods-IZExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IZExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-IZExample/Pods-IZExample.debug.xcconfig"; sourceTree = ""; }; + C5E367BD269EB8D51276A0EF /* Pods-IZExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IZExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-IZExample/Pods-IZExample.release.xcconfig"; sourceTree = ""; }; F3B9BFFD1CA2F8AB00114961 /* IZImagePicker.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = IZImagePicker.swift; path = ../../Pod/Classes/IZImagePicker.swift; sourceTree = ""; }; + FBFBEBD95B542FC91542896C /* Pods_IZExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_IZExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -52,7 +52,7 @@ buildActionMask = 2147483647; files = ( 349C52961D1B808B0015D5CE /* Izeni.framework in Frameworks */, - B666C1602797144D19F83511 /* Pods_IZExample.framework in Frameworks */, + 8952BFBC84E3CB5BC1015646 /* Pods_IZExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -72,8 +72,8 @@ 349A34A91BF54EE100725CB2 /* IZExample */, 349A34C11BF54F6500725CB2 /* IZExampleTests */, 349A34A81BF54EE100725CB2 /* Products */, - B6E047F898ECD3FC11E4745B /* Pods */, 976E1252950C3B7AA459A609 /* Frameworks */, + A9C50588BA5E29B95EBE76CB /* Pods */, ); sourceTree = ""; }; @@ -113,16 +113,16 @@ isa = PBXGroup; children = ( 349C52921D1B7A970015D5CE /* Izeni.framework */, - 72F1C8FD0C49FB7AF5D68540 /* Pods_IZExample.framework */, + FBFBEBD95B542FC91542896C /* Pods_IZExample.framework */, ); name = Frameworks; sourceTree = ""; }; - B6E047F898ECD3FC11E4745B /* Pods */ = { + A9C50588BA5E29B95EBE76CB /* Pods */ = { isa = PBXGroup; children = ( - 4EFE6D07E3D322D00602C5D7 /* Pods-IZExample.debug.xcconfig */, - D3245F8FCAE1E7255101A41A /* Pods-IZExample.release.xcconfig */, + 8482029412CFB0FE2FEC0B5E /* Pods-IZExample.debug.xcconfig */, + C5E367BD269EB8D51276A0EF /* Pods-IZExample.release.xcconfig */, ); name = Pods; sourceTree = ""; @@ -438,7 +438,7 @@ }; 349A34BA1BF54EE100725CB2 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 4EFE6D07E3D322D00602C5D7 /* Pods-IZExample.debug.xcconfig */; + baseConfigurationReference = 8482029412CFB0FE2FEC0B5E /* Pods-IZExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -458,7 +458,7 @@ }; 349A34BB1BF54EE100725CB2 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D3245F8FCAE1E7255101A41A /* Pods-IZExample.release.xcconfig */; + baseConfigurationReference = C5E367BD269EB8D51276A0EF /* Pods-IZExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; diff --git a/Pod/Classes/IZImagePicker.swift b/Pod/Classes/IZImagePicker.swift index 7a7bbe5..e231ecc 100644 --- a/Pod/Classes/IZImagePicker.swift +++ b/Pod/Classes/IZImagePicker.swift @@ -9,7 +9,6 @@ import AVFoundation import Photos -import Izeni @objc public protocol IZImagePickerDelegate: class { func imagePicked(image: UIImage)