├── .gitignore ├── .swift-format ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── Example ├── Example.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── Example │ ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── BarOrange.imageset │ │ ├── Contents.json │ │ └── Orange.jpg │ └── Contents.json │ ├── ContentView.swift │ ├── ExampleApp.swift │ └── Preview Content │ └── Preview Assets.xcassets │ └── Contents.json ├── LICENSE ├── Package.swift ├── Package@swift-5.5.swift ├── README.md ├── Resources └── Images │ ├── CapsuleGradient-half.png │ ├── ForegroundView-half.png │ ├── RoundedRectShadow-half.png │ ├── default-half.png │ └── defaultShapeGradient-half.png ├── Sources └── TabBarModule │ ├── Internal │ ├── EnvironmentKey │ │ ├── BarAnimationBuilderEnvironmentKey.swift │ │ ├── BarFillStyleEnvironmentKey.swift │ │ ├── BarForegroundViewBuilderEnviromentKey.swift │ │ ├── BarItemsAlignmentEnvironmentKey.swift │ │ ├── BarMarginsEnvironmentKey.swift │ │ ├── BarPaddingEnvironmentKey.swift │ │ ├── BarShadowEnvironmentKey.swift │ │ ├── BarShapeEnvironmentKey.swift │ │ ├── BarShapeStyleEnvironmentKey.swift │ │ ├── BarSpacingEnvironmentKey.swift │ │ ├── BarTransitionEnvironmentKey.swift │ │ └── ItemSelectionHashValueEnvironmentKey.swift │ ├── KeyboardObserver.swift │ ├── PreferenceKey │ │ ├── ItemActionWillSelectPreferenceKey.swift │ │ ├── ItemViewBuilderPreferenceKey.swift │ │ └── ItemsPreferenceKey.swift │ └── ViewModifier │ │ ├── EdgeInsetsViewModifier.swift │ │ ├── EdgeSetEdgeInsetsViewModifier.swift │ │ ├── InternalView+Extension.swift │ │ ├── SizeMesurementViewModifier.swift │ │ └── TabItemViewModifier.swift │ └── Public │ ├── TabBar.swift │ ├── TabBarHeightPreferenceKey.swift │ └── View+Extension.swift └── Tests └── TabBarTests └── TabBarTests.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/.gitignore -------------------------------------------------------------------------------- /.swift-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/.swift-format -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/BarOrange.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/Assets.xcassets/BarOrange.imageset/Contents.json -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/BarOrange.imageset/Orange.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/Assets.xcassets/BarOrange.imageset/Orange.jpg -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/Example/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/ContentView.swift -------------------------------------------------------------------------------- /Example/Example/ExampleApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/ExampleApp.swift -------------------------------------------------------------------------------- /Example/Example/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Example/Example/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Package.swift -------------------------------------------------------------------------------- /Package@swift-5.5.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Package@swift-5.5.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/README.md -------------------------------------------------------------------------------- /Resources/Images/CapsuleGradient-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Resources/Images/CapsuleGradient-half.png -------------------------------------------------------------------------------- /Resources/Images/ForegroundView-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Resources/Images/ForegroundView-half.png -------------------------------------------------------------------------------- /Resources/Images/RoundedRectShadow-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Resources/Images/RoundedRectShadow-half.png -------------------------------------------------------------------------------- /Resources/Images/default-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Resources/Images/default-half.png -------------------------------------------------------------------------------- /Resources/Images/defaultShapeGradient-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Resources/Images/defaultShapeGradient-half.png -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarAnimationBuilderEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarAnimationBuilderEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarFillStyleEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarFillStyleEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarForegroundViewBuilderEnviromentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarForegroundViewBuilderEnviromentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarItemsAlignmentEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarItemsAlignmentEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarMarginsEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarMarginsEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarPaddingEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarPaddingEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarShadowEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarShadowEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarShapeEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarShapeEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarShapeStyleEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarShapeStyleEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarSpacingEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarSpacingEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/BarTransitionEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/BarTransitionEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/EnvironmentKey/ItemSelectionHashValueEnvironmentKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/EnvironmentKey/ItemSelectionHashValueEnvironmentKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/KeyboardObserver.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/KeyboardObserver.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/PreferenceKey/ItemActionWillSelectPreferenceKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/PreferenceKey/ItemActionWillSelectPreferenceKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/PreferenceKey/ItemViewBuilderPreferenceKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/PreferenceKey/ItemViewBuilderPreferenceKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/PreferenceKey/ItemsPreferenceKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/PreferenceKey/ItemsPreferenceKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/ViewModifier/EdgeInsetsViewModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/ViewModifier/EdgeInsetsViewModifier.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/ViewModifier/EdgeSetEdgeInsetsViewModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/ViewModifier/EdgeSetEdgeInsetsViewModifier.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/ViewModifier/InternalView+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/ViewModifier/InternalView+Extension.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/ViewModifier/SizeMesurementViewModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/ViewModifier/SizeMesurementViewModifier.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Internal/ViewModifier/TabItemViewModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Internal/ViewModifier/TabItemViewModifier.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Public/TabBar.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Public/TabBar.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Public/TabBarHeightPreferenceKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Public/TabBarHeightPreferenceKey.swift -------------------------------------------------------------------------------- /Sources/TabBarModule/Public/View+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Sources/TabBarModule/Public/View+Extension.swift -------------------------------------------------------------------------------- /Tests/TabBarTests/TabBarTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zijievv/swiftui-tab-bar/HEAD/Tests/TabBarTests/TabBarTests.swift --------------------------------------------------------------------------------