Declarative UIKit for iOS apps
STRUCT
UIViewController.Preview
struct Preview: UIViewRepresentable
makeUIView(context:)
public func makeUIView(context _: Context) -> UIView
Name | Description |
---|---|
context | A context structure containing information about the current state of the system. |
updateUIView(_:context:)
public func updateUIView(_: UIView, context _: Context)
Name | Description |
---|---|
uiView | Your custom view object. |
context | A context structure containing information about the current state of the system. |