{"id":18271086,"url":"https://github.com/bithavoc/FireUIPagedScrollView","last_synced_at":"2025-04-05T01:31:02.935Z","repository":{"id":66213362,"uuid":"2262641","full_name":"bithavoc/FireUIPagedScrollView","owner":"bithavoc","description":"Very nice UIScrollView ready to handle View Controllers as pages, handle orientation changes and integrate with UIPageControl and UISegmentedControl out of the box.  iPhone \u0026 iPad Samples included!","archived":false,"fork":false,"pushed_at":"2012-12-30T05:45:57.000Z","size":1427,"stargazers_count":133,"open_issues_count":6,"forks_count":21,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-02T02:06:09.364Z","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/bithavoc.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":"2011-08-24T16:14:20.000Z","updated_at":"2024-12-18T11:57:31.000Z","dependencies_parsed_at":"2023-02-20T00:15:45.808Z","dependency_job_id":null,"html_url":"https://github.com/bithavoc/FireUIPagedScrollView","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithavoc%2FFireUIPagedScrollView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithavoc%2FFireUIPagedScrollView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithavoc%2FFireUIPagedScrollView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithavoc%2FFireUIPagedScrollView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bithavoc","download_url":"https://codeload.github.com/bithavoc/FireUIPagedScrollView/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:04.276Z","updated_at":"2025-04-05T01:31:01.024Z","avatar_url":"https://github.com/bithavoc.png","language":"Objective-C","readme":"# FireUIPagedScrollView\n\nVery nice UIScrollView ready to handle View Controllers as pages, handle orientation changes and integrate with UIPageControl and UISegmentedControl out of the box. iPhone \u0026 iPad Samples included!\n\n\n## Features\n\n* Handles Orientation and Size changes automatically and with smooth animations.\n* Ready to work with [UIPageControl](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIPageControl_Class/Reference/Reference.html) and [UISegmentedControl](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UISegmentedControl_Class/Reference/UISegmentedControl.html)\n* Easy to use properties and methods (addPagedViewController, pageCount, currentPage, etc)\n* LLVM-ARC Enabled\n\n## Screenshots\n\n![iPad](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPad/IMG_0001.PNG)\n![iPad](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPad/IMG_0002.PNG)\n![iPad](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPad/IMG_0003.PNG)\n![iPad](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPad/IMG_0004.PNG)\n![iPhone](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPhone/IMG_0745.PNG)\n![iPhone](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPhone/IMG_0746.PNG)\n![iPhone](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPhone/IMG_0747.PNG)\n![iPhone](http://github.com/firebaseco/FireUIPagedScrollView/raw/master/Screenshots/iPhone/IMG_0748.PNG)\n\n## Example\n\nLet's setup you have three View controllers that you want to show as pages as follows:\n\n* Page1ViewController.h\n* Page2ViewController.h\n* Page3ViewController.h\n\n1.Include the header for FireUIPagedScrollView.h\n\n    #import \"FireUIPagedScrollView.h\"\n\n2.Drag a UIScrollView to your Nib and then change it's class to FireUIPagedScrollView, then Bind the outlet.\n\n    @property (nonatomic, retain) IBOutlet FireUIPagedScrollView * pagedScrollView;\n\n3.Create Controllers and add them as pages:\n\n    - (void)viewDidLoad\n    {\n    \t[super viewDidLoad];\n\t\t// Add Page 1\n\t    [self.pagedScrollView addPagedViewController:[[Page1ViewController alloc] initWithNibName:@\"Page1View\" bundle:nil];\n\t\t// Add Page 2\n\t    [self.pagedScrollView addPagedViewController:[[Page2ViewController alloc] initWithNibName:@\"Page2View\" bundle:nil];\n\t\t// Add Page 3\n\t    [self.pagedScrollView addPagedViewController:[[Page3ViewController alloc] initWithNibName:@\"Page3View\" bundle:nil];\n    }\n\n## Handling Orientation Changes\n\nTo handle orientation properly while keeping the current page index and animate the new size of the screen, FireUIPagedScrollView needs to know when a Rotation of the Screen is going to occur.\n\n-(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {\n    [super willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];\n    \n    // REQUIRED TO MAKE THE TRANSITION SMOOTHLY BETWEEN ORIENTATIONS\n    [self.pagedScrollView willRotateToInterfaceOrientation];\n}\n\n## Start using it\n\nGet the source code and run the samples for iPhone or iPad:\n\n\t    git clone git://github.com/firebaseco/FireUIPagedScrollView.git\n\n## ARC Compatibility\n\nStarting with 1.1, you will need to use Apple's LLVM Compiler and iOS 4.3 minimum.\n\nFor projects pre iOS 4.3 still using GCC you can use the version [1.0](https://github.com/firebaseco/FireUIPagedScrollView/tree/v1.0) as a reference for your own implementation.\n\n## Author\nJohan Hernandez: johan@firebase.co\n\n## License\n\nCopyright (c) 2011 Firebase.co\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 NON-INFRINGEMENT. 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\nTHE SOFTWARE.\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbithavoc%2FFireUIPagedScrollView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbithavoc%2FFireUIPagedScrollView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbithavoc%2FFireUIPagedScrollView/lists"}