removeObject(_:)
Removes a given object from the receiver’s content.
Declaration
func removeObject(_ object: Any)Parameters
- object:
The object to remove from the receiver.
Discussion
If object is the receiver’s content object, the receiver’s content is set to nil. If the receiver’s content is bound to another (primary) object or controller through a relationship key, the relationship of the primary object is cleared.