Instance Property

anyObject

One of the objects in the hash table.

Declaration

@property(nonatomic, readonly) ObjectType anyObject;

Discussion

One of the objects in the hash table, or nil if the hash table contains no objects.

The object returned is chosen at the hash table’s convenience—the selection is not guaranteed to be random.

See Also

Accessing Content

allObjects

The hash table’s members.

setRepresentation

A set that contains the hash table’s members.

count

The number of elements in the hash table.

- containsObject:

Returns a Boolean value that indicates whether the hash table contains a given object.

- member:

Determines whether the hash table contains a given object, and returns that object if it is present

- objectEnumerator

Returns an enumerator object that lets you access each object in the hash table.