{"id":18270826,"url":"https://github.com/peyton/MOOPullGesture","last_synced_at":"2025-04-05T01:30:52.141Z","repository":{"id":2516971,"uuid":"3492752","full_name":"peyton/MOOPullGesture","owner":"peyton","description":"Clean, versatile pull gesture for iOS perfectionists. Comes with pull-to-create and pull-to-refresh.","archived":false,"fork":false,"pushed_at":"2013-02-18T16:36:53.000Z","size":300,"stargazers_count":186,"open_issues_count":0,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-05T11:53:12.763Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peyton.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-02-20T10:37:56.000Z","updated_at":"2023-04-19T17:23:43.000Z","dependencies_parsed_at":"2022-08-02T23:30:34.426Z","dependency_job_id":null,"html_url":"https://github.com/peyton/MOOPullGesture","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peyton%2FMOOPullGesture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peyton%2FMOOPullGesture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peyton%2FMOOPullGesture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peyton%2FMOOPullGesture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peyton","download_url":"https://codeload.github.com/peyton/MOOPullGesture/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:53.556Z","updated_at":"2025-04-05T01:30:51.432Z","avatar_url":"https://github.com/peyton.png","language":"Objective-C","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"![Pull to create / pull to refresh](https://s3.amazonaws.com/peyton.github.com/MOOPullGesture/Why.png)\n\n# Introduction\n----------\n\nMOOPullGesture implements pull gestures on table views through a UIGestureRecognizer subclass. Built to be extensible, MOOPullGesture comes with pull-to-create and pull-to-refresh.\n\nMOOPullGesture contains [`MOOPullGestureRecognizer`](https://github.com/peyton/MOOPullGesture/blob/master/MOOPullGesture/MOOPullGestureRecognizer.h), which tracks a table view's scrolling and communicates updates to a trigger view through a simple protocol, [`MOOTriggerView`](https://github.com/peyton/MOOPullGesture/blob/master/MOOPullGesture/MOOTriggerView.h).\n\n# Usage\n----------\n\nThe [`Demo Project`](https://github.com/peyton/MOOPullGesture/tree/master/Demo%20Project) folder contains working examples of pull-to-create and pull-to-refresh.\n\n### Pull-to-create\n\nPlease see [`PullToCreateViewController.m`](https://github.com/peyton/MOOPullGesture/blob/master/Demo%20Project/MOOPullGesture%20Demo/PullToCreateViewController.m) and [`PullToCreateDelegate.m`](https://github.com/peyton/MOOPullGesture/blob/master/Demo%20Project/MOOPullGesture%20Demo/PullToCreateDelegate.m). Pay special attention to the `UIScrollViewDelegate` methods on the delegate--it's important to forward those.\n\n### Pull-to-refresh\n\nTake a look at [`PullToRefreshViewController.m`](https://github.com/peyton/MOOPullGesture/blob/master/Demo%20Project/MOOPullGesture%20Demo/PullToRefreshViewController.m).\n\n# Installation\n----------\n\n###First: Clone into a submodule\n\nIn your project's folder, type:\n\n    git submodule add git://github.com/peyton/MOOPullGesture.git\n\nA submodule allows your repository to contain a clone of an external project. If you don't want a submodule, use:\n\n    git clone git://github.com/peyton/MOOPullGesture.git\n\n###Next: Add classes\n\nDrag `MOOPullGesture/` into your Xcode project's file browser.\n\n*Note:* An options dialog will pop up. If you're using MOOPullGesture as a submodule, you should uncheck \"Copy items into destination group's folder (if needed).\"\n\n###Then: Add QuartzCore.framework\n\n![QuartzCore.framework installation](https://s3.amazonaws.com/peyton.github.com/MOOPullGesture/AddQuartzCoreFramework.png)\n\nWith your application's target selected in the navigator, click on the \"Build Phases\" tab. Under \"Link Binary With Libraries,\" click the \"+\" button and add `QuartzCore.framework`.\n\n###Finally: Import the headers\n\n    #import \"MOOPullGestureRecognizer.h\"\n\n...and a `MOOTriggerView`, either `MOOCreateView.h` or `MOORefreshView.h`\n\n###Later: Update to the latest version\n\n`cd` into the MOOPullGesture directory and run:\n\n    git pull\n\n# Credits\n----------\n\nInspired by Pier-Olivier Thibault's [PHRefreshTriggerView](https://github.com/pothibo/PHRefreshTriggerView), [Clear's](http://www.realmacsoftware.com/clear/) pull-to-create, and [Twitter's](http://itunes.apple.com/us/app/twitter/id333903271?mt=8) pull-to-refresh.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeyton%2FMOOPullGesture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeyton%2FMOOPullGesture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeyton%2FMOOPullGesture/lists"}