{"action":"created","issue":{"url":"https://api.github.com/repos/Roylee-ML/SwipeTableView/issues/5","repository_url":"https://api.github.com/repos/Roylee-ML/SwipeTableView","labels_url":"https://api.github.com/repos/Roylee-ML/SwipeTableView/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Roylee-ML/SwipeTableView/issues/5/comments","events_url":"https://api.github.com/repos/Roylee-ML/SwipeTableView/issues/5/events","html_url":"https://github.com/Roylee-ML/SwipeTableView/issues/5","id":163758148,"number":5,"title":"添加上拉加载","user":{"login":"CoderJackie","id":3355958,"avatar_url":"https://avatars.githubusercontent.com/u/3355958?v=3","gravatar_id":"","url":"https://api.github.com/users/CoderJackie","html_url":"https://github.com/CoderJackie","followers_url":"https://api.github.com/users/CoderJackie/followers","following_url":"https://api.github.com/users/CoderJackie/following{/other_user}","gists_url":"https://api.github.com/users/CoderJackie/gists{/gist_id}","starred_url":"https://api.github.com/users/CoderJackie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoderJackie/subscriptions","organizations_url":"https://api.github.com/users/CoderJackie/orgs","repos_url":"https://api.github.com/users/CoderJackie/repos","events_url":"https://api.github.com/users/CoderJackie/events{/privacy}","received_events_url":"https://api.github.com/users/CoderJackie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-05T01:45:48Z","updated_at":"2016-07-05T02:25:34Z","closed_at":null,"body":"一共4个item，要给第三个和第四个添加上拉加载，要怎么添加啊"},"comment":{"url":"https://api.github.com/repos/Roylee-ML/SwipeTableView/issues/comments/230375352","html_url":"https://github.com/Roylee-ML/SwipeTableView/issues/5#issuecomment-230375352","issue_url":"https://api.github.com/repos/Roylee-ML/SwipeTableView/issues/5","id":230375352,"user":{"login":"CoderJackie","id":3355958,"avatar_url":"https://avatars.githubusercontent.com/u/3355958?v=3","gravatar_id":"","url":"https://api.github.com/users/CoderJackie","html_url":"https://github.com/CoderJackie","followers_url":"https://api.github.com/users/CoderJackie/followers","following_url":"https://api.github.com/users/CoderJackie/following{/other_user}","gists_url":"https://api.github.com/users/CoderJackie/gists{/gist_id}","starred_url":"https://api.github.com/users/CoderJackie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoderJackie/subscriptions","organizations_url":"https://api.github.com/users/CoderJackie/orgs","repos_url":"https://api.github.com/users/CoderJackie/repos","events_url":"https://api.github.com/users/CoderJackie/events{/privacy}","received_events_url":"https://api.github.com/users/CoderJackie/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T02:25:34Z","updated_at":"2016-07-05T02:25:34Z","body":"没有复用，是在创建item时设置footer？\r\n\r\n```\r\n- (ThirdTableView *)thirdTableView\r\n{\r\n    if (!_thirdTableView) {\r\n        _thirdTableView = [[ThirdTableView alloc] initWithFrame:self.swipeTableView.bounds];\r\n        _thirdTableView.footer = [MJRefreshAutoFooter footerWithRefreshingBlock:^{\r\n            NSLog(@\"上拉加载\");\r\n        }];\r\n    }\r\n    return _thirdTableView;\r\n}\r\n\r\n```\r\n\r\n```\r\n- (UIScrollView *)swipeTableView:(SwipeTableView *)swipeView viewForItemAtIndex:(NSInteger)index reusingView:(UIScrollView *)view {\r\n    if (index == 0) {\r\n        view = self.firstTableView;\r\n        [view performSelector:@selector(reloadData)];\r\n    } else if (index == 1) {\r\n        view = self.secondScrollView;\r\n    } else if (index == 2) {\r\n        view = self.thirdTableView;\r\n        \r\n        [view performSelector:@selector(reloadData)];\r\n    }\r\n    \r\n    return view;\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"CoderJackie"}}