jcavar / refresher

DEPRECATED: Pull to refresh in Swift
MIT License
873 stars 99 forks source link

load more added #24

Closed erudenko closed 1 year ago

erudenko commented 9 years ago
  1. New LoadMoreView added to "scroll to load more" action (or infinite scroll)
  2. renamed ScrollView extension function names to make them more Swift'ish (no more "withSomething" in function names)
  3. example code changed to reflect refactoring and new functionality
  4. move closure params to the end of list, to make possible call it like that:
            tableView.addPullToRefresh {
                NSOperationQueue().addOperationWithBlock {
                    sleep(2)
                    NSOperationQueue.mainQueue().addOperationWithBlock {
                        self.tableView.stopPullToRefresh()
                    }
                }
            }
jcavar commented 9 years ago

Hey @erudenko, Thank you for your work on this. However, there is a lot of things in one pull request and some for some of them I am not sure that we want them accepted. So if you could separate your commits in separate pull requests that would be great. If you don't have time for that, then I will do it manually when I have time. Thanks anyway!