Releases: Minitour/AZTabBarController
Added New Transition Effect, Changed Method Names
Added new Transition Effect, disabled by default, use
.animateTabChange = true
to enable it.
Changed methods names:
.set(badgeText: , atIndex:)
to .setBadgeText(:,atIndex:)
.set(viewController:,atIndex:)
to .setViewController(:,atIndex:)
.set(selectedIndex:,animated:)
to .setIndex(:,animated:)
.set(action:, atIndex:)
to .setAction(atIndex: Int, action:)
Added Extra default parameters to .setBar
Fixed Bug
Version 1.1.0
Added:
- highlightColor
- highlightedBackgroundColor
- ignoreIconColors
Updated:
- Made
delegate
optional and weak. - Made
controllers
an array of optionalUIViewController
instead ofNSMutableDictionary
. - Made
actions
an array of optionalAZTabBarAction
instead ofNSMutableDictionary
.
Made some small modifications and bug fixes.
Added a public extension for UIViewController which allows access to a var called currentTabBar
.
This var is an optional AZTabBarController. If there is no tab bar it will return nil.
Fixed nil badge value issue
Fixed a bug where on launch the tab bar could cause a crash by trying to access an nil value.
System Sound Support
- Added an option to play a sound effect after clicking a tab.
- Fixed nil delegate crash
Improved UI and UX
Added bounce animation for each tab.
Added more customization options.
Added more documentation.
Removed XIB (AZTabBarController is loaded 100% programmatically now).
Delegate Support
1.0.6 Added Delegate support
v1.0.5 update
- Added support for 2 icon versions, this means you can now set an image for selected mode and default mode.
- Added documentation.
- Added notificationBadgeAppearance property to allow you to design the badge as well.
- Made the property selectedIndex read only.