[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: dia2code objc
From: |
Mondragon, Ian |
Subject: |
RE: dia2code objc |
Date: |
Tue, 26 Mar 2002 10:29:53 -0600 |
true. but that's why there's the a-typical objc functions like this:
- doSomething:sender; // sender is the object sending the message
then you just do this:
[someObject doSomething:self];
nice & clean.
- ian
> -----Original Message-----
> From: Björn Gohla [SMTP:b.gohla@gmx.de]
> Sent: Tuesday, March 26, 2002 10:12 AM
> To: discuss-gnustep@gnu.org
> Subject: Re: dia2code objc
>
> On Tuesday 26 March 2002 17:01, Mondragon, Ian wrote:
> > you can check the object's inheritance with NSObject's -isKindOfClass:
> > method, which will check if an object is either an instance of a class,
> or
> > a decendant of it. you could do somthing as simple as loop over a list
> of
> > classes that are permissable.
>
> unless the caller is passed as a parameter, it would be hard to find out
> who
> sent a message i suppose?
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep
RE: dia2code objc, Mondragon, Ian, 2002/03/26
RE: dia2code objc, Mondragon, Ian, 2002/03/26
RE: dia2code objc,
Mondragon, Ian <=
RE: dia2code objc, Mondragon, Ian, 2002/03/26