Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Need to use some internal variables of the pod in other ViewControllers
Browse files Browse the repository at this point in the history
  • Loading branch information
ikorich committed Oct 28, 2018
1 parent 8fda204 commit b756778
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
WorkspaceSettings.xcsettings
*.xcworkspace
2 changes: 1 addition & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion IGRPhotoTweaks/IGRPhotoTweakViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion IGRPhotoTweaks/PhotoTweakView/IGRPhotoTweakView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b756778

Please sign in to comment.