Created
June 24, 2015 16:03
-
-
Save serhatsezer/77b44e96f84ec0689202 to your computer and use it in GitHub Desktop.
added table view controller as a child view controller and returned their views.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIView *)carousel:(iCarousel *)carousel viewForItemAtIndex:(NSInteger)index reusingView:(UIView *)view | |
{ | |
self.customTableViewController = [[STableViewController alloc] init]; | |
[self addChildViewController:self.customTableViewController]; | |
[self.customTableViewController didMoveToParentViewController:self]; | |
self.customTableViewController.tableView.frame = CGRectMake(0, 0, 200, 200); | |
return self.customTableViewController.tableView; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment