Skip to content
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

Using tableview instead of UItableviewcontroller #9

Closed
jianglin612 opened this issue Mar 28, 2015 · 1 comment
Closed

Using tableview instead of UItableviewcontroller #9

jianglin612 opened this issue Mar 28, 2015 · 1 comment

Comments

@jianglin612
Copy link

//pull to refresh stuff
__weak typeof(self) weakSelf =self;
[self.postTableView addPullToRefreshActionHandler:^{
[weakSelf insertRowAtTop];
}
ProgressImagesGifName:@"spinner_dropbox@2x.gif"
LoadingImagesGifName:@"run@2x.gif"
ProgressScrollThreshold:60
LoadingImageFrameRate:30]

Using this gives an error because weakSelf does not insertRowAtTop method. How would I fix this?

@uzysjung
Copy link
Owner

insertRowAtTop is the example method that I explain that how to use. you make your own method as a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants