{"id":15066988,"url":"https://github.com/developerfly/agswipeabletabbar","last_synced_at":"2025-04-10T13:54:16.114Z","repository":{"id":56900406,"uuid":"119681949","full_name":"DeveloperFly/AGSwipeableTabBar","owner":"DeveloperFly","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-08T10:48:58.000Z","size":2587,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T10:41:59.748Z","etag":null,"topics":["bottom","collection","swift4","swipeable","swipeable-tabs","tabbar"],"latest_commit_sha":null,"homepage":"https://developerfly.com/","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/DeveloperFly.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":"2018-01-31T12:04:49.000Z","updated_at":"2022-01-15T12:40:40.000Z","dependencies_parsed_at":"2022-08-21T02:21:00.340Z","dependency_job_id":null,"html_url":"https://github.com/DeveloperFly/AGSwipeableTabBar","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/DeveloperFly%2FAGSwipeableTabBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperFly%2FAGSwipeableTabBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperFly%2FAGSwipeableTabBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperFly%2FAGSwipeableTabBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeveloperFly","download_url":"https://codeload.github.com/DeveloperFly/AGSwipeableTabBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248229345,"owners_count":21068878,"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":["bottom","collection","swift4","swipeable","swipeable-tabs","tabbar"],"created_at":"2024-09-25T01:14:49.104Z","updated_at":"2025-04-10T13:54:16.093Z","avatar_url":"https://github.com/DeveloperFly.png","language":"Swift","readme":"# AGSwipeableTabBar\n\n[![CI Status](http://img.shields.io/travis/DeveloperFly/AGSwipeableTabBar.svg?style=flat)](https://travis-ci.org/DeveloperFly/AGSwipeableTabBar)\n[![Version](https://img.shields.io/cocoapods/v/AGSwipeableTabBar.svg?style=flat)](http://cocoapods.org/pods/AGSwipeableTabBar)\n[![License](https://img.shields.io/cocoapods/l/AGSwipeableTabBar.svg?style=flat)](http://cocoapods.org/pods/AGSwipeableTabBar)\n[![Platform](https://img.shields.io/cocoapods/p/AGSwipeableTabBar.svg?style=flat)](http://cocoapods.org/pods/AGSwipeableTabBar)\n\n## Example For Text SwipeableTabBar \n![Example](https://github.com/DeveloperFly/AGSwipeableTabBar/blob/master/Example/Resources/Gif/ExamppleImageText_SwipeableTab.gif)\n\n## Example For icon SwipeableTabBar \n![Example](https://github.com/DeveloperFly/AGSwipeableTabBar/blob/master/Example/Resources/Gif/ExamppleImageIcon_SwipeableTab.gif)\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Installation\n\nAGSwipeableTabBar is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'AGSwipeableTabBar'\n```\n\n## Example for assign the AGCommonTabView \n![Example](https://github.com/DeveloperFly/AGSwipeableTabBar/blob/master/Example/Resources/Images/ExamppleImageSet_AGCommonTabView.png)\n\n## Properties which are Directly set by storyborad \n* heightTabViewPerportional :- Set the height of tab view with repect to your view.\n* tabBottomBarHeight: - Set the height of Tab view bottom bar.\n* numberOfitemInSection: - Pass the numer of tabs you want.\n* intialSelectedTab: - Pass the index which you want pre selected.\n* isShowBottomTabBar: - Set the Bool value Tab view bottom bar is shown or not.\n* isTabViewEqualScreenWidth: - Set the Bool Value for Tab bar width is eqaul to AGCommonTabView or not.\n\n\n![Exapmle](https://github.com/DeveloperFly/AGSwipeableTabBar/blob/master/Example/Resources/Images/ExamppleImage_AGCommonTabProperties.png)\n\n\n## Properties which are directly set by view Instance (Example Data)\n``` swift\n let arrayTitle = [\"TableView\", \"CollectionView\", \"View\", \"Button\", \"Label\", \"SegmentedController\", \"switch\", \"progressView\", \"Container\", \"commonView\"]\n @IBOutlet weak var tabView: AGCommonTabView!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        tabView.detailCollectionView.register(UINib.init(nibName: \"TabOneCollectionViewCell\", bundle: nil), forCellWithReuseIdentifier: \"TabOneCollectionViewCell\")\n        tabView.delegate = self\n        tabView.isShowBottomTabBar = true\n        tabView.tabBottomBarHeight = 2\n        tabView.tabBarBackgroundColor = UIColor.red.cgColor\n        tabView.tabBarData.buttonTitleTextArray = arrayTitle\n        tabView.tabBarData.tabHeader = .title // .icon\n        tabView.tabBarData.buttonNormalImageArray = Array.init(repeating: UIImage(named: \"homeUnselectdIcon\")!, count: tabView.numberOfitemInSection)\n        tabView.tabBarData.buttonSelectedImageArray = Array.init(repeating: UIImage(named: \"HomeSlectedIcon\")!, count: tabView.numberOfitemInSection)\n        tabView.tabBarData.buttonSelectedIconColor = UIColor.black\n        tabView.tabBarData.buttonNormalFontColor = UIColor.black\n        tabView.sepratorViewBackgroundColor = UIColor.green\n        tabView.tabBarData.iconTabWidth = 100\n        tabView.initialSelectedTab(index: 2)\n    }\n```\n\n## Delegate methods (CommonTabDelegate)\n```swift\n func cellForItemForDetailView(atIndex indexPath: IndexPath) -\u003e UICollectionViewCell\n func collectionViewCurrentPage(_ currentPage: Int)\n```\n\n## Author\n\naman19ish@gmail.com\n\n## License\n\nMIT License\n\nCopyright (c) 2018 Developer Fly\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperfly%2Fagswipeabletabbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloperfly%2Fagswipeabletabbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperfly%2Fagswipeabletabbar/lists"}