{"id":26917708,"url":"https://github.com/talebrafiepour/tvgtabbarcontroller","last_synced_at":"2026-03-06T02:05:19.743Z","repository":{"id":56923413,"uuid":"216327280","full_name":"TalebRafiepour/TVGTabBarController","owner":"TalebRafiepour","description":"beautiful TabBar with custom styles and animations","archived":false,"fork":false,"pushed_at":"2019-10-20T11:55:18.000Z","size":3899,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T13:47:28.820Z","etag":null,"topics":["animation","bottom-navigation","bottombar","cocapods","ios","ios13","menu","menubar","navigation","navigationbar","navigationview","navigator","swift5","tab","tabbar","tabbarcontroller","tabbaritem","tablayout","tvgtabbarcontroller","viewcontroller"],"latest_commit_sha":null,"homepage":null,"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/TalebRafiepour.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":"2019-10-20T08:00:32.000Z","updated_at":"2023-09-03T14:43:23.000Z","dependencies_parsed_at":"2022-08-20T22:20:18.884Z","dependency_job_id":null,"html_url":"https://github.com/TalebRafiepour/TVGTabBarController","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/TalebRafiepour%2FTVGTabBarController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FTVGTabBarController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FTVGTabBarController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FTVGTabBarController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TalebRafiepour","download_url":"https://codeload.github.com/TalebRafiepour/TVGTabBarController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709904,"owners_count":20821298,"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":["animation","bottom-navigation","bottombar","cocapods","ios","ios13","menu","menubar","navigation","navigationbar","navigationview","navigator","swift5","tab","tabbar","tabbarcontroller","tabbaritem","tablayout","tvgtabbarcontroller","viewcontroller"],"created_at":"2025-04-01T20:50:22.547Z","updated_at":"2026-03-06T02:05:19.705Z","avatar_url":"https://github.com/TalebRafiepour.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TVGTabBarController\nbeautiful TabBar with custom styles and animations\n\n## Demo\nHere are some style of demos using `TVGTabBarController`.\n\n| default style | With no tilte | pointerStyle =\u003e Line |\n|:---:|:---:|:---:|\n| \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/1.png\" width=\"350\"\u003e | \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/2.png\" width=\"350\"\u003e | \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/3.png\" width=\"350\"\u003e \n\n| change attrs colors | change attrs colors | change attrs colors |\n|:---:|:---:|:---:|\n| \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/4.png\" width=\"350\"\u003e | \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/5.png\" width=\"350\"\u003e | \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/6.png\" width=\"350\"\u003e \n\n| with landscape mode |\n|:---:|\n| \u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/7.png\" height=\"700\"\u003e |\n\n\n###  gif\n\n\u003cimg src=\"https://github.com/TalebRafiepour/TVGTabBarController/blob/master/screenshots/tvg-demo.gif\" width=\"350\"\u003e\n\n\n## Installation\n###  CocoaPods\nTo integrate TVGTabBarController into your Xcode project using CocoaPods, specify it in your `Podfile`:\n```ruby\nplatform :ios, '13.0'\nuse_frameworks!\n\ntarget 'YourProjectName' do\n  pod 'TVGTabBarController'\nend\n```\nAnd then remember to `import TVGTabBarController` module before using it.\n\n###  Manually\nYou could directly copy and add the folder `TVGTabBarController` which contains 'TVGTabBarController.swift' file to your project.   \n\n\n## Usage\nYou could use `TVGTabBarController` like you use `UIViewController`, create a ViewController and exteds it by TVGTabBarController programmatically. Additionally, clone this [Demo](https://github.com/TalebRafiepour/TVGTabBarController) project to find out how easy it is working.\n### Programmatically\n```swift\n    \nimport UIKit\nimport TVGTabBarController\n\nclass ViewController: TVGTabBarController {\n    \n    \n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        initTVGTabBar()\n    }\n    \n    fileprivate func initTVGTabBar() {\n        var tabBarItem, tabBarItem2, tabBarItem3, tabBarItem4: TVGTabBarItem\n        \n        tabBarItem  = TVGTabBarItem(image: UIImage(named: \"home\")!, title: \"Home\")\n        tabBarItem2 = TVGTabBarItem(image: UIImage(named: \"like\")!, title: \"Like\")\n        tabBarItem3 = TVGTabBarItem(image: UIImage(named: \"favorite\")!, title: \"Favorite\")\n        tabBarItem4 = TVGTabBarItem(image: UIImage(named: \"profile\")!, title: \"Profile\")\n        \n        let badge = TVGTabBarBadge(value:3, badgeColor: .red)\n        tabBarItem.badge = badge\n        \n        \n        let vc1 = storyboard!.instantiateViewController(identifier: \"VC1ViewControlelr\")\n        let vc2 = storyboard!.instantiateViewController(identifier: \"VC2ViewControlelr\")\n        let vc3 = storyboard!.instantiateViewController(identifier: \"VC3ViewControlelr\")\n        let vc4 = storyboard!.instantiateViewController(identifier: \"VC4ViewControlelr\")\n        \n        self.delegate = self\n        self.viewControllers = [vc1, vc2, vc3,vc4]\n        self.tabBarItems = [tabBarItem,tabBarItem2,tabBarItem3,tabBarItem4]\n        //self.tabsBadgeColor = UIColor.blue\n        //self.tabsSelectedTintColor = .orange\n        //self.tabsDefaultTintColor = .gray\n        //self.tabsTitleIsHidden = true\n        //self.tabsPointerColor = .orange\n        //self.animDurationOfVC = 0.15\n        //self.tabbarSize = .normal\n        //self.tabPointerStyle = .circle\n        //self.tabsFont = UIFont(name: \"Arial\", size: 14)\n        //self.selectedViewController = vc3\n    }\n}\n\n\nextension ViewController: TVGTabBarControllerDelegate {\n    func tabBarController(_ tabBarController: TVGTabBarController, didSelect: UIViewController) {\n        print(\"Delegate success!\");\n    }\n}\n\n\n```\n## 📄 License\n\nTVGTabBarController is released under the MIT license.\nSee [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalebrafiepour%2Ftvgtabbarcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalebrafiepour%2Ftvgtabbarcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalebrafiepour%2Ftvgtabbarcontroller/lists"}