Creates and returns a set that contains a single given object.
Original signature is '+ (id)setWithObject:(id)object'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- object (Id)
- The object to add to the new set. object receives a retain message after being added to the set.
Return Value
A new set that contains a single member, object.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)