Pass data between view controllers on start up
===

I have a side menu app.

I have 2 `ViewController`'s `RearViewController` and `FrontViewController`.

In `RearViewController` I have a `tableView` and I want as soon as the app start `FrontViewController` to load the first element from this table.

I have tried adding 

    frontViewController.category = [rearViewController.fetchedResultsController objectAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];

in `AppDelegate`, but all it get is a nil object.
Thank you.