//  Created by Arkadiusz on 01-04-14.

#import <UIKit/UIKit.h>

/// A UINavigationController subclass allowing the interactive pop gesture when the navigation bar is hidden or a custom back button is used.
@interface AHKNavigationController : UINavigationController

@end

//  Created by Arkadiusz on 01-04-14.

#import <UIKit/UIKit.h>

/// A UINavigationController subclass allowing the interactive pop gesture when the navigation bar is hidden or a custom back button is used.
@interface AHKNavigationController : UINavigationController

- (void)pushViewController:(UIViewController *)viewController
                  animated:(BOOL)animated __attribute__((objc_requires_super));

@end

Add warning when a subclass doesn’t call super on pushViewController:animated:
Add warning when a subclass doesn’t call super on pushViewController:animated:

This method is used for keeping an internal state, so calling super is mandatory.
