Instance Property

name

The attachment’s name, or nil if the attachment is unnamed.

Declaration

@property(copy) NSString *name;

Discussion

Set an attachment’s name property to a custom string to provide a descriptive name for the attachment within Xcode’s test reports.

See Also

Attachment Metadata

uniformTypeIdentifier

The Uniform Type Identifier (UTI) of the data represented by the attachment.

userInfo

User-provided metadata associated with the attachment.