Contents

init(object:)

Creates and returns a set that contains a single given object.

Declaration

convenience init(object: Any)

Parameters

  • object:

    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.

See Also

Creating a Set