AttachmentGroup
public struct AttachmentGroup
extension AttachmentGroup: View
extension AttachmentGroup: _ViewEmptyChecking
AttachmentGroup
provides thubnail and information about an attachment.
Usage
todo: code here
-
init(title:
attachments: maxCount: delegate: controlState: errorMessage: operations: onPreview: componentIdentifier: ) Undocumented
Declaration
Swift
public init(@ViewBuilder title: () -> any View, attachments: Binding<[URL]>, maxCount: Int? = nil, delegate: AttachmentDelegate = BasicAttachmentDelegate(), controlState: ControlState = .normal, errorMessage: Binding<AttributedString?> = .constant(nil), @ViewBuilder operations: () -> any View = { EmptyView() }, onPreview: ((URL) -> Void)? = nil, componentIdentifier: String? = AttachmentGroup.identifier)
-
Undocumented
Declaration
Swift
static let identifier: String
-
Undocumented
Declaration
Swift
init(title: AttributedString, attachments: Binding<[URL]>, maxCount: Int? = nil, delegate: AttachmentDelegate = BasicAttachmentDelegate(), controlState: ControlState = .normal, errorMessage: Binding<AttributedString?>, @ViewBuilder operations: () -> any View = { EmptyView() }, onPreview: ((URL) -> Void)? = nil)
-
Undocumented
Declaration
Swift
init(_ configuration: AttachmentGroupConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }