diff --git a/.gitignore b/.gitignore index 0aef7ea..49fe22c 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ fastlane/Preview.html fastlane/screenshots fastlane/test_output WorkspaceSettings.xcsettings +*.xcworkspace diff --git a/Example/Podfile b/Example/Podfile index d69248e..044ab15 100755 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '9.0' +platform :ios, '10.3' use_frameworks! source "https://github.com/CocoaPods/Specs.git" diff --git a/IGRPhotoTweaks/IGRPhotoTweakViewController.swift b/IGRPhotoTweaks/IGRPhotoTweakViewController.swift index ce82360..61ed232 100644 --- a/IGRPhotoTweaks/IGRPhotoTweakViewController.swift +++ b/IGRPhotoTweaks/IGRPhotoTweakViewController.swift @@ -45,7 +45,7 @@ open class IGRPhotoTweakViewController: UIViewController { //MARK: - Private VARs - internal lazy var photoView: IGRPhotoTweakView! = { [unowned self] by in + public lazy var photoView: IGRPhotoTweakView! = { [unowned self] by in let photoView = IGRPhotoTweakView(frame: self.view.bounds, image: self.image, diff --git a/IGRPhotoTweaks/PhotoTweakView/IGRPhotoTweakView.swift b/IGRPhotoTweaks/PhotoTweakView/IGRPhotoTweakView.swift index 27eb247..645c03d 100644 --- a/IGRPhotoTweaks/PhotoTweakView/IGRPhotoTweakView.swift +++ b/IGRPhotoTweaks/PhotoTweakView/IGRPhotoTweakView.swift @@ -28,7 +28,7 @@ public class IGRPhotoTweakView: UIView { return cropView }(()) - private(set) lazy var photoContentView: IGRPhotoContentView! = { [unowned self] by in + public private(set) lazy var photoContentView: IGRPhotoContentView! = { [unowned self] by in let photoContentView = IGRPhotoContentView(frame: self.scrollView.bounds) photoContentView.isUserInteractionEnabled = true