Instance Property

string

The string value of the first pasteboard item.

Declaration

@property(nonatomic, copy) NSString *string;

Discussion

The value stored in this property is an NSString object. The associated array of representation types is UIPasteboardTypeListString, which includes type kUTTypeUTF8PlainText. Setting this property replaces all current items in the pasteboard with the new item. If the first item has no value of the indicated type, nil is returned.

See Also

Getting and Setting Pasteboard Items of Standard Data Types

strings

An array of strings in all pasteboard items.

image

The image object of the first pasteboard item.

images

An array of image objects in all pasteboard items.

URL

The URL object of the first pasteboard item.

URLs

An array of URL objects in all pasteboard items.

color

The color object of the first pasteboard item.

colors

An array of color objects in all pasteboard items.