Skip to content

没有按需加载 #5

Open
Open
@ghost

Description

pragma mark --private Method--初始化子控制器

-(void)setupChildController {
for (NSInteger i = 0; i<self.currentChannelsArray.count; i++) {
ContentTableViewController *viewController = [[ContentTableViewController alloc] init];
viewController.channelName = self.currentChannelsArray[i];
viewController.channelId = self.channelsUrlDictionary[viewController.channelName];
[self addChildViewController:viewController];
}
}

在这一步就获取了所有数据 。。。。不太好吧

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions