A SwiftUI TabView that retains the state of each tab as well as some other goodies.
Merged PR. Big thanks to @camdenfullmer!
Updated @_functionBuilder
to @resultBuilder
. Thanks to @qiuyangnie!
Adds support for optional TabBar title. Big thanks to p-larson!
Reverted previous change of selected index to non binding. This value does need to be a binding to prevent the tab bar from returning to original tab on state reload.
Added unselected item tint color modifier. This release also changed selected index from a bindable int to just an int. A state variable can be passed into the initializer to control the value.
Adds support for unselected images on Tabs. Big thanks to MichaelNeas for the contribution.
Changed badgeValue to read-only variable instead of a binding. https://github.com/NicholasBellucci/StatefulTabView/pull/5 Big thanks to gobetti!
Added scroll to top functionality.
StatefulTabView can now be initialized without a selected index. The default is 0.
Minor code changes to better loop performance.