{"id":18352375,"url":"https://github.com/cleveroad/crpageviewcontroller","last_synced_at":"2025-04-06T19:13:14.181Z","repository":{"id":56905122,"uuid":"73382322","full_name":"Cleveroad/CRPageViewController","owner":"Cleveroad","description":"While a standard page view allows you to navigate between pages by using simple gestures, our component goes further","archived":false,"fork":false,"pushed_at":"2017-01-26T20:56:13.000Z","size":2190,"stargazers_count":392,"open_issues_count":1,"forks_count":49,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-30T17:12:01.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.cleveroad.com","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/Cleveroad.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":"2016-11-10T12:59:37.000Z","updated_at":"2025-02-18T14:28:01.000Z","dependencies_parsed_at":"2022-08-21T02:50:30.257Z","dependency_job_id":null,"html_url":"https://github.com/Cleveroad/CRPageViewController","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/Cleveroad%2FCRPageViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleveroad%2FCRPageViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleveroad%2FCRPageViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleveroad%2FCRPageViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cleveroad","download_url":"https://codeload.github.com/Cleveroad/CRPageViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535519,"owners_count":20954576,"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-05T21:35:46.198Z","updated_at":"2025-04-06T19:13:14.163Z","avatar_url":"https://github.com/Cleveroad.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRPageViewController [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) \u003cimg src=\"https://www.cleveroad.com/public/comercial/label-ios.svg\" height=\"20\"\u003e \u003ca href=\"https://www.cleveroad.com/?utm_source=github\u0026utm_medium=label\u0026utm_campaign=contacts\"\u003e\u003cimg src=\"https://www.cleveroad.com/public/comercial/label-cleveroad.svg\" height=\"20\"\u003e\u003c/a\u003e\n\n[![CI Status](http://img.shields.io/travis/Sergey/CRPageViewController.svg?style=flat)](https://travis-ci.org/Sergey/CRPageViewController)\n[![Version](https://img.shields.io/cocoapods/v/CRPageViewController.svg?style=flat)](http://cocoapods.org/pods/CRPageViewController)\n[![License](https://img.shields.io/cocoapods/l/CRPageViewController.svg?style=flat)](http://cocoapods.org/pods/CRPageViewController)\n[![Platform](https://img.shields.io/cocoapods/p/CRPageViewController.svg?style=flat)](http://cocoapods.org/pods/CRPageViewController)\n\n![Header image](/images/header.jpg)\n\n## Meet Page View Controller for iOS by Cleveroad\n\nHey, guys! Cleveroad team has got something really interesting for you. Meet our new iOS library - CRPageViewController. We’re sure that you’ve already checked the convenience of Page View long time ago. But we’ve made something that will make navigation between pages of your app even handier.\n\n![Demo image](/images/demo.gif)\n\nWhile a standard page view allows you to navigate between pages by using simple gestures, our component goes further. CRPageViewController allows defining a page size by setting width and heights manually. Thus, users will be able to control the placement of pages on the screens in the way which is more suitable for them. \n\nWe’re convinced that users will find this component really useful and will be grateful for such a good tool.  \n\n[![Awesome](/images/logo-footer.png)](https://www.cleveroad.com/?utm_source=github\u0026utm_medium=label\u0026utm_campaign=contacts)\n\u003cbr/\u003e\n\n## Requirements\n\n* iOS 8 or higher\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Installation\n\nCRPageViewController is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```\npod \"CRPageViewController\"\n```\nand run pod install in terminal.\n\n## Usage\n\n```c\n@protocol CRPageViewControllerDataSource \u003cNSObject\u003e\n@required\n\n//Returns the view controller after the given view controller.\n- (UIViewController *)pageViewController:(CRPageViewController *)pageViewController\nviewControllerAfterViewController:(UIViewController *)viewController;\n\n//Returns the view controller before the given view controller.\n- (UIViewController *)pageViewController:(CRPageViewController *)pageViewController\nviewControllerBeforeViewController:(UIViewController *)viewController;\n\n@optional\n\n//ViewController moving to center PageController\n- (void)focusedViewController:(UIViewController *)viewController;\n\n//ViewController moving from center PageController\n- (void)unfocusedViewController:(UIViewController *)viewController;\n\nCRPageViewController\n\n//DataSourse of PageViewController\n@property (weak, nonatomic) id \u003cCRPageViewControllerDataSource\u003e dataSource;\n\n//Starting array of UIViewController in PageViewController\n@property (strong, nonatomic) NSArray \u003cUIViewController*\u003e *viewControllers;\n\n//Size of UIViewController in PageViewController\n@property (assign, nonatomic) CGSize childVCSize;\n\n//Vertical offset of UIViewController in center screen\n@property (assign, nonatomic) CGFloat OffsetOfHeightCentralVC;\n\n//Distance between child UIViewController\n@property (assign, nonatomic) CGFloat sizeBetweenVC;\n\n//Speed of animation change UIViewController on center PageViewController\n@property (assign, nonatomic) CGFloat animationSpeed;\n\n//Type of animation change UIViewController on center PageViewController\n@property (assign, nonatomic) UIViewAnimationCurve animation;\n\n//Count of UIViewController on PageViewController\n@property (assign, nonatomic) NSInteger countPageInController;\n\n```\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Support\n\nIf you have any questions, issues or propositions, please create a \u003ca href=\"../../issues/new\"\u003enew issue\u003c/a\u003e in this repository.\n\nIf you want to hire us, send an email to sales@cleveroad.com or fill the form on \u003ca href=\"https://www.cleveroad.com/contact\"\u003econtact page\u003c/a\u003e\n\nFollow us:\n\n[![Awesome](/images/social/facebook.png)](https://www.facebook.com/cleveroadinc/)   [![Awesome](/images/social/twitter.png)](https://twitter.com/cleveroadinc)   [![Awesome](/images/social/google.png)](https://plus.google.com/+CleveroadInc)   [![Awesome](/images/social/linkedin.png)](https://www.linkedin.com/company/cleveroad-inc-)   [![Awesome](/images/social/youtube.png)](https://www.youtube.com/channel/UCFNHnq1sEtLiy0YCRHG2Vaw)\n\u003cbr/\u003e\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Cleveroad Inc.\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 all\ncopies 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%2Fcleveroad%2Fcrpageviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleveroad%2Fcrpageviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleveroad%2Fcrpageviewcontroller/lists"}