TabBarControllerDestinationInterfacing
@MainActor
public protocol TabBarControllerDestinationInterfacing<TabType> : UITabBarController, ControllerDestinationInterfacing, TabBarDestinationInterfacing where Self.Destination : TabBarControllerDestinationableA protocol representing a UITabBarController class which conforms to Destinations.
- 
                  currentController(for:Default implementation) Returns the currently presented controller in the specified tab. Default ImplementationDeclarationSwift @MainActor func currentController(for tab: TabType) -> (any ControllerDestinationInterfacing)?ParameterstabThe tab type. Return ValueA UIViewController, if one is found.
- 
                  
                  This method gives a chance to customize UITabItems during tabs setup, and should be implemented in concreteUITabBarControllerclasses conforming to this protocol.DeclarationSwift @MainActor func customizeTabItem(for tab: TabType, navigationController: UINavigationController)ParameterstabThe tab to customize. navigationControllerThe navigation controller whose tabItemproperty should be customized.
- 
                  tabIndex(for:Default implementation) Returns the tabIndexfor the requested tab type.Default ImplementationDeclarationSwift @MainActor func tabIndex(for tab: TabType) -> Int?ParameterstabThe tab type. Return ValueThe tabIndexof the tab, if the requested tab type was found.
- 
                  tab(destinationID:Default implementation) Returns a tab type associated with the specified Destination. Default ImplementationDeclarationSwift @MainActor func tab(destinationID: UUID) -> TabType?ParametersdestinationIDThe Destination identifier associated with the requested tab. Return ValueThe requested tab type, if one was found. 
- 
                  gotoTab(_:Default implementation) Switches the active tab Note: Requesting a tab type that isn’t in the active tabs list will result in a DestinationsError.tabNotFounderror being thrown.Default ImplementationDeclarationSwift @MainActor func gotoTab(_ type: TabType) throwsParameterstypeThe type of tab to make to. 
 View on GitHub
            View on GitHub
          