Instance Method

add(_:)

Associates a file, image, or other attachment with the activity.

Required.

Declaration

func add(_ attachment: XCTAttachment)