{"id":13686024,"url":"https://github.com/cemolcay/SlidingContainerViewController","last_synced_at":"2025-05-01T05:31:26.700Z","repository":{"id":30178331,"uuid":"33728858","full_name":"cemolcay/SlidingContainerViewController","owner":"cemolcay","description":"An android scrollable tab bar style container view controller","archived":false,"fork":false,"pushed_at":"2020-11-11T15:49:50.000Z","size":259,"stargazers_count":217,"open_issues_count":10,"forks_count":41,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-25T04:39:27.894Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cemolcay.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":"2015-04-10T13:07:05.000Z","updated_at":"2024-06-27T15:26:37.000Z","dependencies_parsed_at":"2022-07-25T18:32:12.865Z","dependency_job_id":null,"html_url":"https://github.com/cemolcay/SlidingContainerViewController","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/cemolcay%2FSlidingContainerViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemolcay%2FSlidingContainerViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemolcay%2FSlidingContainerViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemolcay%2FSlidingContainerViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemolcay","download_url":"https://codeload.github.com/cemolcay/SlidingContainerViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251830449,"owners_count":21650802,"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-08-02T14:01:01.726Z","updated_at":"2025-05-01T05:31:26.276Z","avatar_url":"https://github.com/cemolcay.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"SlidingContainerViewController\n==============================\n\nAn [Android scrollable tab bar](http://developer.android.com/design/building-blocks/tabs.html#scrollable) style container view controller\n\n\nDemo\n----\n\n![alt tag](https://raw.githubusercontent.com/cemolcay/SlidingContainerViewController/master/demo.gif)\n\n\nInstall\n-----\n\n#### Manual\n\nCopy \u0026 paste `Source` folder to your project\n\n#### Cocoapods\n\n``` ruby\nuse_frameworks!\npod 'SlidingContainerViewController'\n```\n\n\nUsage\n-----\n\nCreate a `UIViewController` as container, setup your tab view controllers and implement `SlidingContainerViewController` and add its view to view controller's view like:\n\n``` swift\n let slidingContainerViewController = SlidingContainerViewController (\n   parent: self,\n   contentViewControllers: [vc1, vc2, vc3, vc4],\n   titles: [\"First\", \"Second\", \"Third\", \"Forth\"])\n\n view.addSubview(slidingContainerViewController.view)\n```\n\n\nSlidingContainerViewControllerDelegate\n---------------------------------------\n\n``` swift\nprotocol SlidingContainerViewControllerDelegate {\n  func slidingContainerViewControllerDidMoveToViewController (slidingContainerViewController: SlidingContainerViewController, viewController: UIViewController, atIndex: Int)\n  func slidingContainerViewControllerDidHideSliderView (slidingContainerViewController: SlidingContainerViewController)\n  func slidingContainerViewControllerDidShowSliderView (slidingContainerViewController: SlidingContainerViewController)\n}\n\n```\n\n\nSlidingContainerSliderView\n--------------------------\n\nThe tab bar slider view in the sliding container view controller.\nFully customisable with its `appearance` property.\n\n\nSlidingContainerSliderViewAppearance\n------------------------------------\n\n``` swift\nstruct SlidingContainerSliderViewAppearance {\n  var backgroundColor: UIColor\n\n  var font: UIFont\n  var selectedFont: UIFont\n\n  var textColor: UIColor\n  var selectedTextColor: UIColor\n\n  var outerPadding: CGFloat\n  var innerPadding: CGFloat\n\n  var selectorColor: UIColor\n  var selectorHeight: CGFloat\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemolcay%2FSlidingContainerViewController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemolcay%2FSlidingContainerViewController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemolcay%2FSlidingContainerViewController/lists"}