diff --git a/iOSPhotoEditor/PhotoEditor+Controls.swift b/iOSPhotoEditor/PhotoEditor+Controls.swift index 323267a9f..0b9b30f32 100644 --- a/iOSPhotoEditor/PhotoEditor+Controls.swift +++ b/iOSPhotoEditor/PhotoEditor+Controls.swift @@ -18,6 +18,7 @@ public enum control { case save case share case clear + case continueButton } extension PhotoEditorViewController { @@ -132,6 +133,8 @@ extension PhotoEditorViewController { stickerButton.isHidden = true case .text: stickerButton.isHidden = true + case .continueButton: + continueButton.isHidden = true } } } diff --git a/iOSPhotoEditor/PhotoEditorViewController.swift b/iOSPhotoEditor/PhotoEditorViewController.swift index abfb4b7e8..6319e9d7e 100644 --- a/iOSPhotoEditor/PhotoEditorViewController.swift +++ b/iOSPhotoEditor/PhotoEditorViewController.swift @@ -38,7 +38,8 @@ public final class PhotoEditorViewController: UIViewController { @IBOutlet weak var saveButton: UIButton! @IBOutlet weak var shareButton: UIButton! @IBOutlet weak var clearButton: UIButton! - + @IBOutlet weak var continueButton: UIButton! + public var image: UIImage? /** Array of Stickers -UIImage- that the user will choose from diff --git a/iOSPhotoEditor/PhotoEditorViewController.xib b/iOSPhotoEditor/PhotoEditorViewController.xib index 7d1af0cb0..d216bb05d 100644 --- a/iOSPhotoEditor/PhotoEditorViewController.xib +++ b/iOSPhotoEditor/PhotoEditorViewController.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -25,6 +23,7 @@ +