From a8a4581c29697637bfbb90614a2710c744bae747 Mon Sep 17 00:00:00 2001 From: Sergio Utama Date: Fri, 30 Jun 2017 15:27:44 +0800 Subject: [PATCH] Fix #182 - Delegate not called Method declaration on the protocol didn't get called, due to not being declared properly --- Sources/FusumaViewController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/FusumaViewController.swift b/Sources/FusumaViewController.swift index 6ee8f383..52f0fd4e 100644 --- a/Sources/FusumaViewController.swift +++ b/Sources/FusumaViewController.swift @@ -37,6 +37,12 @@ public protocol FusumaDelegate: class { func fusumaMultipleImageSelected(_ images: [UIImage], source: FusumaMode) func fusumaVideoCompleted(withFileURL fileURL: URL) func fusumaCameraRollUnauthorized() + + // optional + func fusumaImageSelected(_ image: UIImage, source: FusumaMode, metaData: ImageMetadata) + func fusumaDismissedWithImage(_ image: UIImage, source: FusumaMode) + func fusumaClosed() + func fusumaWillClosed() } public extension FusumaDelegate {