Re: Opposite of delegate?
Re: Opposite of delegate?
- Subject: Re: Opposite of delegate?
- From: Ali Ozer <email@hidden>
- Date: Fri, 11 May 2001 18:05:10 -0700
Within a class, I want to refer to the object which the class is the
delegate of. Sort of the opposite reference to "delegate". Is there a
convenient way to do so, or do I need to define and connect an outlet
for that?
Nothing built-in. Remember that a delegate may be a delegate for many
objects, so it's not 1-to-1 relationship in general.
Note that delegate methods always get the original object as an
argument, so at least within those methods you have a handle to the
object you want.
Ali