Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)addFeedTableView {
- ProfileFeedTableDataSource* dataSource = [ProfileFeedTableDataSource new];
- dataSource.posts = self.pageInfo.posts;
- dataSource.user = self.user;
- dataSource.delegate = self;
- assert(self.presentCommentScreen);
- dataSource.presentCommentScreen = self.presentCommentScreen;
- DKATableViewExtended* tableView = [DKATableViewExtended new];
- tableView.strongDataSource = dataSource;
- tableView.frame = self.contentView.bounds;
- tableView.separatorStyle = UITableViewCellSelectionStyleNone;
- tableView.delegate = dataSource;
- [self.contentView addSubview:tableView];
- [self addSelectPanelWithIndex:0];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement