ObjectHeader
ObjectHeader
is a view that displays an object’s title, subtitle, tags, body text, footnote, description, status, substatus, detail image and detail content.
Usage
ObjectHeader {
Text("title")
} subtitle: {
Text("subtitle")
} tags: {
Text("tag01")
} bodyText: {
Text("body")
} footnote: {
Text("footnote")
} descriptionText: {
Text("description")
} status: {
Text("status")
} substatus: {
Text("substatus")
} detailImage: {
Image(systemName: "person")
} detailContent: {
Text("detail content")
}
-
init(title:
subtitle: tags: bodyText: footnote: descriptionText: status: substatus: detailImage: detailContent: componentIdentifier: ) Undocumented
Declaration
Swift
public init(@ViewBuilder title: () -> any View, @ViewBuilder subtitle: () -> any View = { EmptyView() }, @TagBuilder tags: () -> any View = { EmptyView() }, @ViewBuilder bodyText: () -> any View = { EmptyView() }, @ViewBuilder footnote: () -> any View = { EmptyView() }, @ViewBuilder descriptionText: () -> any View = { EmptyView() }, @ViewBuilder status: () -> any View = { EmptyView() }, @ViewBuilder substatus: () -> any View = { EmptyView() }, @ViewBuilder detailImage: () -> any View = { EmptyView() }, @ViewBuilder detailContent: () -> any View = { EmptyView() }, componentIdentifier: String? = ObjectHeader.identifier)
-
Undocumented
Declaration
Swift
static let identifier: String
-
init(title:
subtitle: tags: bodyText: footnote: descriptionText: status: substatus: detailImage: detailContent: ) Undocumented
Declaration
Swift
init(title: AttributedString, subtitle: AttributedString? = nil, tags: [AttributedString] = [], bodyText: AttributedString? = nil, footnote: AttributedString? = nil, descriptionText: AttributedString? = nil, status: TextOrIcon? = nil, substatus: TextOrIcon? = nil, detailImage: Image? = nil, @ViewBuilder detailContent: () -> any View = { EmptyView() })
-
Undocumented
Declaration
Swift
init(_ configuration: ObjectHeaderConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }