On 10 mars 08, at 12:47, ADIL SALEEM wrote:

Hi,

[...]
What i am doing is something like this...

- (void)mouseEntered:(NSEvent *)theEvent
{
  [textField setStringValue:@"New Value"];
}

- (void)mouseExited:(NSEvent *)theEvent
{
  [textField setStringValue:@"Old Value"];
}

Add a NSLog(@"%@", textField); in these methods to first check that the textField var is not nil.


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to