-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
没有按需加载 #5
Comments
这里只是设置所有子控制器,还没有加载,滑到那个页面才会进行网络请求 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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];
}
}
在这一步就获取了所有数据 。。。。不太好吧
The text was updated successfully, but these errors were encountered: