help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with self


From: Adam Fedor
Subject: Re: problem with self
Date: Tue, 2 Mar 2004 16:56:43 -0700


On Tuesday, March 2, 2004, at 07:36 AM, reuss wrote:

if I have a class named someClass and I put in a button and define a
target for this very button as following:
[myButton setTarget: self];

in this case, self means someClass or myButton?


Self would be the instance of someClass that received the message 'someMethod':

@implementation someClass

- someMethod
{
  [myButton setTarget: self];
}

@end





reply via email to

[Prev in Thread] Current Thread [Next in Thread]