{"id":18596304,"url":"https://github.com/wxxsw/tabbar","last_synced_at":"2025-04-10T16:32:05.084Z","repository":{"id":42495557,"uuid":"242485401","full_name":"wxxsw/TabBar","owner":"wxxsw","description":"🚥 TabBar for SwiftUI - Make custom TabView possible","archived":false,"fork":false,"pushed_at":"2020-02-23T10:02:44.000Z","size":208,"stargazers_count":35,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T01:16:45.776Z","etag":null,"topics":["swift","swiftui","tabbar"],"latest_commit_sha":null,"homepage":"https://github.com/wxxsw/TabBar","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/wxxsw.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":"2020-02-23T08:56:36.000Z","updated_at":"2025-02-07T08:04:23.000Z","dependencies_parsed_at":"2022-09-14T13:01:58.156Z","dependency_job_id":null,"html_url":"https://github.com/wxxsw/TabBar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FTabBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FTabBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FTabBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FTabBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wxxsw","download_url":"https://codeload.github.com/wxxsw/TabBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252696,"owners_count":21072701,"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":["swift","swiftui","tabbar"],"created_at":"2024-11-07T01:23:49.261Z","updated_at":"2025-04-10T16:32:00.913Z","avatar_url":"https://github.com/wxxsw.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![TabBar](https://github.com/wxxsw/TabBar/blob/master/Images/logo.png?0223)\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://developer.apple.com/swift\"\u003e\u003cimg src=\"https://img.shields.io/badge/language-Swift%205-f48041.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://developer.apple.com/swiftui\"\u003e\u003cimg src=\"https://img.shields.io/badge/framework-SwiftUI-blue.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://developer.apple.com/ios\"\u003e\u003cimg src=\"https://img.shields.io/badge/platform-iOS%2013%2b-blue.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/apple/swift-package-manager\"\u003e\u003cimg src=\"https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codebeat.co/projects/github-com-wxxsw-tabbar-master\"\u003e\u003cimg alt=\"codebeat badge\" src=\"https://codebeat.co/badges/9e0e57a0-4833-45a3-b370-b7aa7234f353\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/wxxsw/TabBar/blob/master/LICENSE\"\u003e\u003cimg src=\"http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## Installation\n\n### Swift Package Manager\n\n1. Select `Xcode -\u003e File -\u003e Swift Packages -\u003e Add Package Dependency...` \n2. Enter `https://github.com/wxxsw/TabBar`.\n3. Click `Next`, then select the version, complete.\n\n### Requirements\n\n- iOS 13+\n- Xcode 11+\n- Swift 5+\n\n## Quick Start\n\n```swift\nstruct ContentView : View {\n    @State private var selection: Int = 0\n    \n    var body: some View {\n        NavigationView {\n            TabBar(selection: $selection) {\n                HomeView()\n                    .tabBarItem(0) { Image(\"chat\") }\n                ContactView()\n                    .tabBarItem(1) { Image(\"contact\") }\n                DiscoverView()\n                    .tabBarItem(2) { Image(\"discover\") }\n                MeView()\n                    .tabBarItem(3) { Image(\"me\") }\n            }\n        }\n    }\n}\n```\n\n## Demo\n\nOpen `TabBar.xcodeproj` and run `Demo` target.\n\n## License\n\nTabBar is released under the MIT license. [See LICENSE](https://github.com/wxxsw/TabBar/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwxxsw%2Ftabbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwxxsw%2Ftabbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwxxsw%2Ftabbar/lists"}