{"id":18270878,"url":"https://github.com/emenegro/bottom-pull-to-refresh","last_synced_at":"2025-04-05T01:30:54.403Z","repository":{"id":2290845,"uuid":"3248780","full_name":"emenegro/bottom-pull-to-refresh","owner":"emenegro","description":"Pull-to-Refresh behavior at the bottom of a UITableView","archived":false,"fork":false,"pushed_at":"2015-08-17T17:34:24.000Z","size":231,"stargazers_count":117,"open_issues_count":7,"forks_count":41,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-03-15T14:48:14.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emenegro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-23T17:44:25.000Z","updated_at":"2023-06-27T13:43:29.000Z","dependencies_parsed_at":"2022-08-20T07:10:17.911Z","dependency_job_id":null,"html_url":"https://github.com/emenegro/bottom-pull-to-refresh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emenegro%2Fbottom-pull-to-refresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emenegro%2Fbottom-pull-to-refresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emenegro%2Fbottom-pull-to-refresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emenegro%2Fbottom-pull-to-refresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emenegro","download_url":"https://codeload.github.com/emenegro/bottom-pull-to-refresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:38:55.396Z","updated_at":"2025-04-05T01:30:54.013Z","avatar_url":"https://github.com/emenegro.png","language":"Objective-C","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"MNMBottomPullToRefresh is a solution to add pull-to-refresh feature to the bottom of an UITableView instead of the top, as usual. This view can be used to retrieve more values, or pages, of a large list.\n\nThis solution has its basis on the Mediator design pattern (http://en.wikipedia.org/wiki/Mediator_pattern). `MNMBottomPullToRefreshManager` acts as a Mediator between the pull-to-refresh view and its container table view, decoupling the view and the scroll management.\n\nIn order to maintain this decoupling, there is no `UITableView` subclass, allowing developers to add this behavior as an aggregate of its own subclasses of `UITableView` without creating an intermediate class or adding directly in the UIViewController that manages table delegate and data source.\n\nInstallation instructions:\n-------------------------\n\n1) Copy the whole `MNMBottomPullToRefresh` folder into your project\n\n2) In your UIViewController class, create a `MNMBottomPullToRefreshManager` to link an `UITableView` and the `MNMPullToRefreshView`. Use a sentence like this:\n\n       pullToRefreshManager_ = [[MNMBottomPullToRefreshManager alloc] initWithPullToRefreshViewHeight:60.0f\n                                                                                            tableView:table_\n                                                                                           withClient:self];\n    \n3) Implement `MNMBottomPullToRefreshManagerClient` selectors on your UIViewController in order to inform to delegate about the correct offset of the table\n\n4) You can see a this usage in `MNMBPTRViewController`\n\nDocumentation\n=============\n\n1) Execute  `appledoc appledoc.plist` in the root of the project path to generate documentation. \n\nLicense\n=======\n\nCopyright (c) 2012 Mario Negro.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femenegro%2Fbottom-pull-to-refresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femenegro%2Fbottom-pull-to-refresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femenegro%2Fbottom-pull-to-refresh/lists"}