Created
December 2, 2015 15:56
-
-
Save kubbing/81d183f9d07845766859 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)previewingContext:(id<UIViewControllerPreviewing>)previewingContext | |
commitViewController:(UIViewController *)viewControllerToCommit | |
{ | |
// get the peek controller (on screen currently) | |
HNTMemberPeekViewController *peekController = (HNTMemberPeekViewController *)viewControllerToCommit; | |
// get its data object | |
HNMemberLite *memberLite = peekController.memberLite; | |
// handle it as you'd handle normal cell tap action | |
[self memberAction:memberLite]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment