TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Apache 2 |
ReleasedLast Release | Dec 2014 |
Maintained by Henry T. Kirk.
Scrolling navigation controller for iOS 7.x with slide-up transitions. It uses UICollectionView under the hood and currently supports vertical sliding.
// Initial setup and presentation
UIViewController *sampleController = [[UIViewController alloc] init];
// pass sampleViewController as root
HTKScrollingNavigationController *navController = [[HTKScrollingNavigationController alloc] initWithRootViewController:sampleController];
// show "modally" using helper. (optional, but recommended)
[navController showInParentViewController:self withDimmedBackground:YES];
// Push new controller
UIViewController *sampleViewController = [[UIViewController alloc] init];
[self.scrollingNavigationController pushViewController:sampleViewController animated:YES];
// Pop existing controller
[self.scrollingNavigationController popViewControllerAnimated:YES];
// Dismiss (optional)
[self.scrollingNavigationController dismissFromParentControllerAnimated:YES];
v0.0.1: Initial project commit v0.0.2: Added in functionality so if a cell contains a UITextField, or UITextView, it will scroll up when keyboard is present so it is not covered.
Questions? Email: [email protected] or Web: http://www.henrytkirk.info