Permalink
Browse files

Make the presentation and dismissal functions public for subclassing.

  • Loading branch information...
1 parent f8f773d commit cf0a1df48db66aa4b894b6baf6d0dac7e36cf164 @devinross committed Feb 22, 2014
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/TapkuLibrary/TKAlertViewController.h
@@ -54,4 +54,16 @@
/** Hide the alert */
- (void) hide;
+/**
+ Overwrite this function to implement your own presentation animation.
+ @transitionContext The transition context.
+ */
+- (void) showAlertView:(id<UIViewControllerContextTransitioning>)transitionContext;
+
+/**
+ Overwrite this function to implement your own dismissal animation.
+ @transitionContext The transition context.
+ */
+- (void) hideAlertView:(id<UIViewControllerContextTransitioning>)transitionContext;
+
@end

0 comments on commit cf0a1df

Please sign in to comment.