{"id":18271156,"url":"https://github.com/grp/PullToRefreshView","last_synced_at":"2025-04-05T01:31:04.909Z","repository":{"id":66810412,"uuid":"1981067","full_name":"grp/PullToRefreshView","owner":"grp","description":"dead simple pull to refresh. you probably shouldn't use this.","archived":false,"fork":false,"pushed_at":"2015-08-17T23:09:12.000Z","size":158,"stargazers_count":196,"open_issues_count":12,"forks_count":40,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-05T11:53:20.284Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grp.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-01T00:26:54.000Z","updated_at":"2023-04-11T07:20:17.000Z","dependencies_parsed_at":"2023-02-26T02:05:52.139Z","dependency_job_id":null,"html_url":"https://github.com/grp/PullToRefreshView","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/grp%2FPullToRefreshView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grp%2FPullToRefreshView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grp%2FPullToRefreshView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grp%2FPullToRefreshView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grp","download_url":"https://codeload.github.com/grp/PullToRefreshView/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:39:07.801Z","updated_at":"2025-04-05T01:31:03.677Z","avatar_url":"https://github.com/grp.png","language":"Objective-C","readme":"PullToRefreshView\n\nNote: I would avoid using this right now, at least until I find time to resolve a number of issues with it.\n\nIt is:\n - a pull-to-refresh implementation\n - very easy to implement\n - doesn't suck\n\nTo implement it:\n - add the four files (PullToRefreshView.{h,m}, arrow.png and arrow@2x.png) to your project\n - add the Quartz framework to your project if you haven't done so yet\n - #import \"PullToRefreshView.h\"\n - add QuartzCore to your project\n - add an ivar: PullToRefreshView *pull; // or whatever you want to name it\n - in loadView or viewDidLoad, add this (and be sure to release in dealloc/viewDidUnload, etc):\n    pull = [[PullToRefreshView alloc] initWithScrollView:\u003cyour scroll view here\u003e];\n    [pull setDelegate:self];\n    [\u003cyour scroll view here\u003e addSubview:pull];\n - in dealloc and viewDidUnload, add calls to:\n   [pull containingViewDidUnload];\n   to unwind the view hierarchy.\n - implement two delegate methods:\n    // called when the user pulls-to-refresh\n    - (void)pullToRefreshViewShouldRefresh:(PullToRefreshView *)view;\n    // called when the date shown needs to be updated, optional\n    - (NSDate *)pullToRefreshViewLastUpdated:(PullToRefreshView *)view;\n - call -finishedLoading on the PullToRefreshView when you finished loading (or got an error, etc)\n - that's it! no need to forward on UIScrollView delegate methods or anything silly like that.\n    \n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrp%2FPullToRefreshView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrp%2FPullToRefreshView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrp%2FPullToRefreshView/lists"}