Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
All the objects that still have the refCount of 0
are part of cyclic graphs and none of the objects
from this graph are held by some object outside
graph. These objects receive the
-dealloc
message. In this method they should send the
-dealloc
message to any garbage collectable (GCObject
and subclass) instances they contain.
Called to remove anObject from the list
of garbage collectable objects. This method is
provided so that classes which are not subclasses
of GCObject (but which have the same initial instance
variable layout) can use multiple inheritance
(behaviors) to act as GCObject instances, but
can have their own
-dealloc
methods. These classes should call this in
their own
-dealloc
methods.
Marks the receiver as not having been visited in
the current garbage collection process (first pass of
collection).
All container subclasses should override this method
to call the super implementation then decrement the
ref counts of their contents as well as sending the
-gcDecrementRefCountOfContainedObjects
message to each of them.
Checks to see if the receiver has already been
visited in the current garbage collection
process, and either marks the receiver as
visited (and returns YES) or returns
NO to indicate that it had already
been visited.
All container subclasses should override this method
to call the super implementation then, if the method
returns YES, increment the reference
count of any contained objects and send the
-gcIncrementRefCountOfContainedObjects
to each of the contained objects too.
This category implements accessor methods for the
instance variables used for garbage collecting.
If/when we can ensure that all garbage collecting
classes use the same initial ivar layout, we can
remove these methods and the garbage collector can
access the ivars directly, making a pretty big
performance improvement during collecting.
NB. These methods must *only* be used by the garbage
collecting process or in methods called from the
garbage collector. Anything else is not thread-safe.