aaronbrethorst/ABRouter — pull request #4 by abiaad (2012-11-25 19:29:40+00:00)
Title: Add query system to transmit objects

I've changed main structure by creating a custom UIViewController : ABViewController. All controllers have to inherit from this new class. Then you have to fill an NSDictionary of your object you want to transmit and set it to query variable of your class (done automatically with you navigation method call).

Hope you'll enjoy it :)

```objective-c
- (IBAction)viewObject:(id)sender
{
NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys:[NSDate date],@"date",nil];
[[ABRouter sharedRouter] navigateTo:@"/object" withNavigationController:self.navigationController andQuery:query];
}
```