Next: , Previous: , Up: Object   [Index]


1.123.9 Object: dependents access

addDependent: anObject

Add anObject to the set of the receiver’s dependents. Important: if an object has dependents, it won’t be garbage collected.

dependents

Answer a collection of the receiver’s dependents.

release

Remove all of the receiver’s dependents from the set and allow the receiver to be garbage collected.

removeDependent: anObject

Remove anObject to the set of the receiver’s dependents. No problem if anObject is not in the set of the receiver’s dependents.