swift-AnimatedTabBar SwiftUI动画Tab栏库

你要为你的 iOS 应用的 tabBar 增添一些动态效果吗?试试swift-AnimatedTabBar吧!这个开源的 SwiftUI 库让你可以轻松地为 tabBar 的选中状态添加过渡动画,操作简单,效果也蛮酷的。想象一下,用户点击 tab 时,图标可以平滑地变大或者旋转,界面瞬间就活跃起来了。AnimatedTabBar是为 SwiftUI 量身定制的,能给默认的 TabView 组件加上一层酷炫的动画,让你的应用体验更上一层楼。

如果你用过 SwiftUI,肯定知道 TabView 是用来做 tabBar 的,但它默认并没有动画效果。这里的AnimatedTabBar就能帮你搞定,支持多种动画效果,像是平滑过渡、缩放、旋转等,甚至可以自定义动画速度和方向,灵活度超高。

使用起来也挺,直接用Swift Package Manager导入库,添加到项目中,之后在 SwiftUI 视图中创建实例,指定每个 tab 的标题、图标、视图,还能轻松设置动画效果。最棒的是,选中的 tab 还能触发事件,方便执行自定义的逻辑。

,如果你想为 iOS 应用的 tabBar 注入一些生气,不妨试试这个库。提升用户体验的同时,代码也简洁。

zip
swift-AnimatedTabBar是一个SwiftUI模块库用于向iOStabBar项目和图标添加动画.zip 预估大小:67个文件
folder
AlbGarciam-AnimatedTabBar-b3aa409 文件夹
folder
AnimatedTabBar 文件夹
folder
Assets 文件夹
folder
.gitkeep 文件夹
folder
Classes 文件夹
file
CommonUIView.swift 482B
file
AnimatedTabBarController.swift 5KB
file
AnimatedTabBarView.swift 5KB
file
AnimatedTabBar.swift 5KB
file
AnimatedTabBarAppearance.swift 1KB
file
Utils.swift 457B
file
LabelAndDot.swift 3KB
file
AnimatedTabBar.podspec 2KB
file
LICENSE 1KB
file
_Pods.xcodeproj 27B
folder
Example 文件夹
folder
Example.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 152B
folder
xcuserdata 文件夹
folder
albertogarcia-munoz.xcuserdatad 文件夹
file
UserInterfaceState.xcuserstate 11KB
folder
xcuserdata 文件夹
folder
albertogarcia-munoz.xcuserdatad 文件夹
folder
xcschemes 文件夹
file
xcschememanagement.plist 342B
file
project.pbxproj 16KB
file
.DS_Store 6KB
folder
Pods 文件夹
file
Manifest.lock 288B
folder
Target Support Files 文件夹
folder
Pods-Example 文件夹
file
Pods-Example-Info.plist 828B
file
Pods-Example.debug.xcconfig 689B
file
Pods-Example-dummy.m 128B
file
Pods-Example.release.xcconfig 689B
file
Pods-Example.modulemap 114B
file
Pods-Example-acknowledgements.plist 2KB
file
Pods-Example-frameworks.sh 7KB
file
Pods-Example-acknowledgements.markdown 1KB
file
Pods-Example-umbrella.h 316B
folder
AnimatedTabBar 文件夹
file
AnimatedTabBar.xcconfig 456B
file
AnimatedTabBar-umbrella.h 320B
file
AnimatedTabBar.modulemap 118B
file
AnimatedTabBar-dummy.m 132B
file
AnimatedTabBar-Info.plist 828B
file
AnimatedTabBar-prefix.pch 195B
folder
Local Podspecs 文件夹
file
AnimatedTabBar.podspec.json 725B
folder
Pods.xcodeproj 文件夹
folder
xcuserdata 文件夹
folder
albertogarcia-munoz.xcuserdatad 文件夹
folder
xcschemes 文件夹
file
xcschememanagement.plist 558B
file
Pods-Example.xcscheme 2KB
file
AnimatedTabBar.xcscheme 2KB
file
project.pbxproj 30KB
folder
Example.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 225B
folder
xcuserdata 文件夹
folder
albertogarcia-munoz.xcuserdatad 文件夹
file
UserInterfaceState.xcuserstate 35KB
file
Podfile.lock 288B
file
Podfile 79B
folder
Example 文件夹
file
ViewController.swift 877B
file
.DS_Store 6KB
file
Info.plist 1KB
file
AppDelegate.swift 2KB
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 2KB
file
Main.storyboard 2KB
folder
Assets.xcassets 文件夹
file
.DS_Store 6KB
folder
thunder.imageset 文件夹
file
icons8-lightning-bolt-30-4.png 548B
file
icons8-lightning-bolt-30-3.png 548B
file
icons8-lightning-bolt-30-2.png 548B
file
Contents.json 429B
folder
home.imageset 文件夹
file
icons8-home-page-30.png 510B
file
icons8-home-page-31.png 510B
file
Contents.json 408B
file
icons8-home-page-32.png 510B
folder
search.imageset 文件夹
file
Contents.json 399B
file
icons8-search-30.png 872B
file
icons8-search-32.png 872B
file
icons8-search-31.png 872B
folder
AppIcon.appiconset 文件夹
file
Contents.json 849B
file
Contents.json 62B
file
README.md 998B
file
.gitignore 10B
file
AnimatedTabBar.gif 147KB
...
zip 文件大小:226.73KB