I have been trying to use the IIViewDeckController
available here but I am having some trouble in this.
I have created a view controller in my storyboard
and assigned the class IIViewDeckController
and created a segue. In my root view controller I have then set-up the controller with a centre and a left controller using the properties explained in the documentation linked above. I set-up the controller as show below
if([segue.identifier isEqual: @"Deck"])
{
// prepare view controllers
CategoriesViewController* leftController = [[CategoriesViewController alloc] init];
UIViewController* rightController = nil;
ListingViewController* middle = [[ListingViewController alloc] init];
IIViewDeckController* deck = segue.destinationViewController;
deck.centerController = middle;
deck.leftController = leftController;
}
I don't get any errors when I run the code but I am presented with a black screen which does not respond to swipe events nor does it contain my Listing view.
What am I missing?