{"id":18809970,"url":"https://github.com/aryaxt/scrollpager","last_synced_at":"2025-10-05T21:23:11.120Z","repository":{"id":27704282,"uuid":"31191140","full_name":"aryaxt/ScrollPager","owner":"aryaxt","description":"A scroll pager that displays a list of tabs (segments) and manages paging between given views","archived":false,"fork":false,"pushed_at":"2020-10-22T04:49:59.000Z","size":259,"stargazers_count":510,"open_issues_count":13,"forks_count":78,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-29T05:08:49.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/aryaxt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-23T02:30:45.000Z","updated_at":"2024-11-24T14:48:05.000Z","dependencies_parsed_at":"2022-09-03T03:36:12.082Z","dependency_job_id":null,"html_url":"https://github.com/aryaxt/ScrollPager","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaxt%2FScrollPager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaxt%2FScrollPager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaxt%2FScrollPager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aryaxt%2FScrollPager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aryaxt","download_url":"https://codeload.github.com/aryaxt/ScrollPager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294539,"owners_count":20915340,"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-07T23:18:23.349Z","updated_at":"2025-10-05T21:23:06.092Z","avatar_url":"https://github.com/aryaxt.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScrollPager [![Version](http://cocoapod-badges.herokuapp.com/v/ScrollPager/badge.png)](http://cocoadocs.org/docsets/ScrollPager)\nA scroll pager similar to the one in Flipboard. The control creates a tabbar given a title or an image, and has the option of connecting to a UIScrollView to automatically present given views and manage paging between these views\n\n![alt tag](https://raw.github.com/aryaxt/ScrollPager/master/scrollPager.png)\n\n## Usage:\n\nDrag and drop a UIView into storyboard or xib.\n\nOPTIONAL: If you like to use a scroll view assign the outlet to a scrollView.\n\n### Tab with text\n```swift\nscrollPager.addSegmentsWithTitles([\"Home\", \"Public Feed\", \"Profile\"])\n```\n\n### Tab with images and views (will automatically add paging to scrollview and displays the views accordingly)\n```swift\nscrollPager.addSegmentsWithTitlesAndViews([\n  (\"Home\", firstView),\n  (\"Public Feed\", secondView),\n  (\"Profile\", thirdView)\n])\n```\n\n### Tab with images\n```swift\nsecondScrollPager.addSegmentsWithImages([\n  UIImage(named: \"envelope\")!,\n  UIImage(named: \"home\")!\n])\n```\n\n### Tab with images and views (will automatically add paging to scrollview and displays the views accordingly)\n```swift\nscrollPager.addSegmentsWithImagesAndViews([\n  (UIImage(named: \"envelope\")!, firstView),\n  (UIImage(named: \"home\")!, secondView),\n  (UIImage(named: \"anotherImage\")!, thirdView)\n])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryaxt%2Fscrollpager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faryaxt%2Fscrollpager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryaxt%2Fscrollpager/lists"}