Skip to content

Commit

Permalink
Remove no-longer-needed remote UI method in header
Browse files Browse the repository at this point in the history
  • Loading branch information
rsattar committed Apr 1, 2016
1 parent 2eae6ec commit 891b8d4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 23 deletions.
23 changes: 0 additions & 23 deletions LaunchKit/Classes/LaunchKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

/*!
Expand Down
17 changes: 17 additions & 0 deletions LaunchKit/Classes/UI/LKUIManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 891b8d4

Please sign in to comment.