How do I use Essentials Sliding Overlays with Storyboards?


#1

I have used Shinobi Charts with my application for a while now and when I got I ran into too many bugs with some Sliding Overlay type code I though I would give Shinobi Essentials Sliding Overlays a try. My project is for iOS7 and uses storyboards. The underlay is a tableview that acts as a menu to load the top level storyboard for each section of my applicaiton.  

How do I go about it with Essentials Sliding Overlays? The Sample that uses Xib’s is just not doing it for me to help me undersand how to set things up with storyboards. 


#2

The easiest way would be to add the SlidingOverlay as a UIView in the storyboard, then to add the tableview programmatically in viewDidLoad

-(void)viewDidLoad
{
    [super viewDidLoad];
    table = [[UITableView alloc] initWithFrame:slidingOverlay.underlay.bounds style: UITableViewStylePlain];
    [slidingOverlay.underlay addSubview:table];
}

After that, you can customise the table and overlay however you need.