Classes
The following classes are available globally.
-
The UIKit ViewController that acts as parent of a AltSwiftUI View hierarchy.
Initialize this controller with the view that you want to place at the top of the hierarchy.
When using UIKit views, it’s possible to interact with a AltSwiftUI views by passing a UIHostingController that contains a
See moreView
hierarchy.Declaration
Swift
open class UIHostingController : UINavigationController
extension UIHostingController: UINavigationControllerDelegate
extension UIHostingController: UIGestureRecognizerDelegate
-
The default TabBarController used by AltSwiftUI.
Subclass this class if you want to add custom behavior to the
See moreUITabBarController
and add it toUIHostingController.customRootTabBarController
.Declaration
Swift
open class SwiftUITabBarController : UITabBarController, UITabBarControllerDelegate