Instance Property

searchable

A Boolean value that indicates if the custom attribute can be specified as a search term.

Declaration

@property(readonly, getter=isSearchable) BOOL searchable;

Discussion

The default value of this property is true.

See Also

New Methods

- initWithKeyName:

Returns a new custom attribute key with the specified name.

- initWithKeyName:searchable:searchableByDefault:unique:multiValued:

Returns a new custom attribute key with the specified name and properties.

keyName

The name of the custom attribute key.

multiValued

A Boolean value that indicates if the custom attribute is likely to have multiple values, such as arrays, associated with it.

searchableByDefault

A Boolean value that indicates if the custom attribute should be searchable by default.

unique

A Boolean value that indicates if duplicate custom attribute values should be treated as the same value to save storage space.