DAAppsViewController
DAAppsViewController copied to clipboard
Adding this to a project in storyboard
Quick question on this, can anybody tell me how to add this to my project? i want it on page 5 in Storyboard mode but this code only loads up on the main page and the project does not include an xib or storyboard as they are not needed
Any idea anyone?
Have you read the README? It explains how to integrate it very easily!
Sorry but there is nothing on README telling how to integrate this with a storyboard app in terms of DAAppsViewController being an item on a storyboard, that is what the op seems to be asking.
This is what I've done:
- Imported the project
- Ensured that the view (e.g.Settings/About screen) in Storyboard is embedded in a UINavigationController.
- Added this to my .m:
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithArtistId:@"ArtistId" completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
Thats about it. No need to add a new ViewController. Just link up to an IBAction and your done.