UIHostingView
public class UIHostingView : UIViewA UIKit view that hosts a ArgoKit view hierarchy.
Example:
         let hostView: UIHostingView = UIHostingView(content: Content(), frame:self.view.bounds)
         self.view.addSubview(hostView)
- 
                  
                  Undocumented DeclarationSwift public var useSafeAreaTop: Bool
- 
                  
                  Undocumented DeclarationSwift public var useSafeAreaLeft: Bool
- 
                  
                  Undocumented DeclarationSwift public var useSafeAreaBottom: Bool
- 
                  
                  Undocumented DeclarationSwift public var useSafeAreaRight: Bool
- 
                  
                  Undocumented DeclarationSwift public override func layoutSubviews()
- 
                  
                  Initializer DeclarationSwift public init(content: View, frame: CGRect = CGRect.zero, useSafeArea: Bool = false)ParameterscontentThe root view of the ArgoKit view hierarchy that you want to manage using this hosting controller. frameThe frame rectangle for the new view object. safeAreatrue if you want to add the insets that you use to determine the safe area for this view. 
- 
                  
                  Initializer size of the host view automatically matches the size of the child view DeclarationSwift public init(content: View, origin: CGPoint, width: CGFloat = CGFloat.nan, height: CGFloat = CGFloat.nan)ParameterscontentThe root view of the ArgoKit view hierarchy that you want to manage using this hosting controller. originThe position for the new view object. widththe specified width of the host view,default is UIScreen.main.bounds.width. heightthe specified height of the host view,default is CGFloat.nan. 
- 
                  
                  Asks the view to calculate and return the size that best fits the specified size. DeclarationSwift public override func sizeThatFits(_ size: CGSize) -> CGSizeParameterssizeThe size for which the view should calculate its best-fitting size. Return ValueA new size that fits the receiver’s subviews. 
- 
                  
                  Asks the view to calculate and return the size that best fits the specified width and height. DeclarationSwift public func sizeThatFits(_ width: CGFloat = .nan, height: CGFloat = .nan) -> CGSizeParameterswidthThe width for which the view should calculate its best-fitting width.when width = .nan A new width that fits the receiver’s subviews. heightThe height for which the view should calculate its best-fitting height.when height = .nan A new height that fits the receiver’s subviews. Return ValueA new size that fits the receiver’s subviews. 
- 
                  
                  Undocumented DeclarationSwift public override var frame: CGRect { get set }
 UIHostingView Class Reference
      UIHostingView Class Reference