{"id":18270654,"url":"https://github.com/caesarcat/InfinitePagingView","last_synced_at":"2025-04-05T01:30:45.249Z","repository":{"id":3793099,"uuid":"4871457","full_name":"caesarcat/InfinitePagingView","owner":"caesarcat","description":"InfinitePagingView is a subclass of UIView. It contains an endlessly scrollable UIScrollView.","archived":false,"fork":false,"pushed_at":"2016-06-05T07:31:19.000Z","size":577,"stargazers_count":234,"open_issues_count":15,"forks_count":73,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-03-15T13:22:14.877Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caesarcat.png","metadata":{"files":{"readme":"README.md","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":"2012-07-03T11:34:09.000Z","updated_at":"2024-03-15T13:22:14.878Z","dependencies_parsed_at":"2022-09-12T21:22:00.753Z","dependency_job_id":null,"html_url":"https://github.com/caesarcat/InfinitePagingView","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/caesarcat%2FInfinitePagingView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesarcat%2FInfinitePagingView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesarcat%2FInfinitePagingView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caesarcat%2FInfinitePagingView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caesarcat","download_url":"https://codeload.github.com/caesarcat/InfinitePagingView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276042,"owners_count":20912285,"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:47.414Z","updated_at":"2025-04-05T01:30:44.774Z","avatar_url":"https://github.com/caesarcat.png","language":"Objective-C","readme":"InfinitePagingView\n=====================\n\n\nOverview\n--------\nInfinitePagingView is a subclass of UIView. It contains an endlessly scrollable UIScrollView.\n\n\n[CocoaPods]\n--------\n\tpod `InfinitePagingView`\n\n\nFeatures\n--------\n- Endlessly scrollable to horizontal (or vertical) direction.\n- Each page view contents are available to a UIView based custom view.\n- Implements paging delegate protocol.\n- Page scroll action methods.\n \n\nRequirements\n------------\n- iOS 4+\n- Xcode 4.3 (Use ARC)\n\nScreenshots\n-----------\n![Screenshot0](http://resources.qnote.jp/infinity-paging-view/sample4.png)\n![Screenshot0](http://resources.qnote.jp/infinity-paging-view/sample1.png)\n![Screenshot0](http://resources.qnote.jp/infinity-paging-view/sample2.png)\n![Screenshot0](http://resources.qnote.jp/infinity-paging-view/sample3.png)\n\n\nHow to use\n----------\n\n```Objective-C\n#import \"InfinityPagingView.h\"\n...\n- (void)loadView\n{\n    [super loadView];\n    \n    // create instance.\n    InfinitePagingView *pagingView = [[InfinitePagingView alloc] initWithFrame:CGRectMake(0.f, 30.f, 100.f, 50.f)];\n    \n    // Adding each page views.(UIView based)\n    // (At least 3 pages.)\n    UIImageView *page1View = [[UIImageView alloc] initWithFrame:frame];\n    [pagingView addPageView:page1View];\n    ...\n    [pagingView addPageView:page2View];\n    [pagingView addPageView:page3View];\n    [pagingView addPageView:page4View];\n    [pagingView addPageView:page5View];\n    \n    [self.view addSubview:pagingView];\n}\n```\n\nBuild and run the project files. Enjoy more examples!\n\nPublic methods\n--------\n\n```Objective-C\n- (void)addPageView:(UIView *)pageView;\n```\nAdds a view to the inner scrollview's subviews.\n\n-\n\n```Objective-C\n- (void)scrollToPreviousPage;\n```\nScroll to the previous page.\n\n-\n\n```Objective-C\n- (void)scrollToNextPage;\n```\nScroll to the next page.\n\n\n\nInfinitePagingViewDelegate Protocols\n-\n\n```Objective-C\n- (void)pagingView:(InfinitePagingView *)pagingView willBeginDragging:(UIScrollView *)scrollView;\n```\nTells the delegate when the paging view is about to start scrolling the content.\n\n-\n\n```Objective-C\n- (void)pagingView:(InfinitePagingView *)pagingView didScroll:(UIScrollView *)scrollView;\n```\nTells the delegate when the user scrolls the content view within the receiver.\n\n-\n\n```Objective-C\n- (void)pagingView:(InfinitePagingView *)pagingView didEndDragging:(UIScrollView *)scrollView;\n```\nTells the delegate when dragging ended in the paging view.\n\n\n-\n\n```Objective-C\n- (void)pagingView:(InfinitePagingView *)pagingView willBeginDecelerating:(UIScrollView *)scrollView;\n```\n\nTells the delegate that the paging view is starting to decelerate the scrolling movement.\n\n-\n\n```Objective-C\n- (void)pagingView:(InfinitePagingView *)pagingView didEndDecelerating:(UIScrollView *)scrollView atPageIndex:(NSInteger)pageIndex;\n```\nTells the delegate that the scroll view has ended decelerating the scrolling movement.\n\n\n\nLicense\n-------\nThis software is released under the MIT License, see LICENSE.txt.\n\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaesarcat%2FInfinitePagingView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaesarcat%2FInfinitePagingView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaesarcat%2FInfinitePagingView/lists"}