From 891b8d48ca3f04492f0a32078d623459a4e43134 Mon Sep 17 00:00:00 2001 From: Rizwan Sattar Date: Fri, 1 Apr 2016 13:18:40 -0700 Subject: [PATCH] Remove no-longer-needed remote UI method in header --- LaunchKit/Classes/LaunchKit.h | 23 ----------------------- LaunchKit/Classes/UI/LKUIManager.h | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/LaunchKit/Classes/LaunchKit.h b/LaunchKit/Classes/LaunchKit.h index 2ffdae5..518714e 100644 --- a/LaunchKit/Classes/LaunchKit.h +++ b/LaunchKit/Classes/LaunchKit.h @@ -239,29 +239,6 @@ typedef void (^LKUIManifestRefreshHandler)(); completion:(nullable LKAppReviewCardCompletionHandler)completion; -#pragma mark - Remote UI - -/*! - @method - - @abstract - Presents loaded remote UI on behalf of the presentingViewController, handling its dismissal. - - @discussion - Once remote UI is loaded (see -loadRemoteUIWithId:completion:), you should pass it to this method to present it. - - @param viewController The LaunchKit view controller that is generally loaded on demand - @param presentingViewController The view controller to present the remote UI from. - @param animated Whether to animate the modal presentation - @param dismissalHandler When the remote UI has finished its flow, the UI is dismissed, and then this handler - is called, in case you want to take action after its dismissal. - */ -- (void)presentRemoteUIViewController:(nonnull LKViewController *)viewController - fromViewController:(nonnull UIViewController *)presentingViewController - animated:(BOOL)animated - dismissalHandler:(nullable LKRemoteUIDismissalHandler)dismissalHandler; - - #pragma mark - Debugging (for LaunchKit developers :D) /*! diff --git a/LaunchKit/Classes/UI/LKUIManager.h b/LaunchKit/Classes/UI/LKUIManager.h index aa1cab3..78b93e0 100644 --- a/LaunchKit/Classes/UI/LKUIManager.h +++ b/LaunchKit/Classes/UI/LKUIManager.h @@ -63,6 +63,23 @@ typedef void (^LKAppReviewCardCompletionHandler)(LKViewControllerFlowResult flow - (void)loadRemoteUIWithId:(nonnull NSString *)remoteUIId completion:(nullable LKRemoteUILoadHandler)completion; #pragma mark - Presenting UI + + +/*! + @method + + @abstract + Presents loaded remote UI on behalf of the presentingViewController, handling its dismissal. + + @discussion + Once remote UI is loaded (see -loadRemoteUIWithId:completion:), you should pass it to this method to present it. + + @param viewController The LaunchKit view controller that is generally loaded on demand + @param presentingViewController The view controller to present the remote UI from. + @param animated Whether to animate the modal presentation + @param dismissalHandler When the remote UI has finished its flow, the UI is dismissed, and then this handler + is called, in case you want to take action after its dismissal. + */ - (void)presentRemoteUIViewController:(nonnull LKViewController *)viewController fromViewController:(nonnull UIViewController *)presentingViewController animated:(BOOL)animated