CardView

struct CardView : View

This struct represents a card view that displays the details of a person. It conforms to the View protocol.

  • Binding to control the view mode.

    Declaration

    Swift

    @Binding
    var isViewMore: Bool { get nonmutating set }
  • Metadata of the person.

    Declaration

    Swift

    var metaData: [String : String]
  • Face bytes data.

    Declaration

    Swift

    var faceBytes: [UInt8]
  • Grid items for the scroll view.

    Declaration

    Swift

    let columns: [GridItem]
  • The body of the view.

    Declaration

    Swift

    var body: some View { get }
  • Calculate the maximum height for the content in the scroll view

    Declaration

    Swift

    func maxHeightForContent() -> CGFloat