Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/torryharris/TH-NavigationStack
A control that organizes multiple navigation controllers in a stack with search option in both the states.
https://github.com/torryharris/TH-NavigationStack
Last synced: 3 months ago
JSON representation
A control that organizes multiple navigation controllers in a stack with search option in both the states.
- Host: GitHub
- URL: https://github.com/torryharris/TH-NavigationStack
- Owner: torryharris
- License: mit
- Created: 2013-12-03T12:58:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-04T09:42:06.000Z (about 11 years ago)
- Last Synced: 2024-08-05T19:36:43.071Z (7 months ago)
- Language: Objective-C
- Size: 9.82 MB
- Stars: 68
- Watchers: 20
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TH-NavigationStack
==================A control that organizes multiple navigation controllers in a stack with search option in both the states.

##How to use:
1. Deployment target should be 6.0 or later2. Copy all file from 'NavigationStackResource' Folder to your project. (It incorporates ARC)
3. import NavStackViewController.h and Subclass NavStackViewController
#import "NavStackViewController.h"@interface ViewController : NavStackViewController
4. Intialize the controller data
NSString* plistPath = [[NSBundle mainBundle] pathForResource: @"NavStackControllerData" ofType: @"plist"];
// Build the dictionary from the plist
self.jsonDictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath];## Note : You can get data from any source. This framework needs a specific dictionary to run on.
(A dictionary contains array of dictionary and each element-dictionary in the array contains two strings - subheadingName and subheadingImg . While preparing the dictionary, use the same-key name as mentioned in .plist file. )
5. Customize the headerView When displaying Full-Menu View.
[self setHeaderLabelFont:[UIFont fontWithName:@"HelveticaNeue-Light" size:20.0f]]
[self setHeaderLabelColor:[UIColor blackColor]];
[self setHeaderBackGroundColor:[UIColor whiteColor]];6. Customize the headerView When displaying Detailed-Menu View.
[self setSelectedHeaderLabelFont:[UIFont fontWithName:@"HelveticaNeue-Bold" size:20.0f]];
[self setSelectedHeaderLabelColor:[UIColor blackColor]];
[self setSelectedHeaderBackGroundColor:[UIColor whiteColor]];7. Call setHeaderSeparatorColor to set the color of separator view.
[self setHeaderSeparatorColor:[UIColor lightGrayColor]];
#####Steps 6 is optional.
##License
NavigationStack is licensed under the terms of the MIT License. Please see the [License](https://github.com/torryharris/TH-NavigationStack/blob/master/LICENSE) file for full details.