Re: NSEvent isEqual
Re: NSEvent isEqual
- Subject: Re: NSEvent isEqual
- From: Ondra Cada <email@hidden>
- Date: Thu, 4 May 2006 00:05:20 +0200
Ken,
oh, I have overlooked this:
On 3.5.2006, at 23:46, Ken Victor wrote:
ps. in an attempt to stave off a series of questions, i need to
know if a change to a date picker's value was caused by the same
event that made the date picker the current first responder, ie, by
the user clicking in one of the date pickers arrows when the date
picker wasn't the first responder
Actually, I may be misunderstanding the goal mightily, but seems to
me this is the very case you want identity (instead of equality)? In
other words, something like
NSEvent *oldEvent; // no need to retain unless you wanna log it or
something
...
if (oldEvent==newEvent) ...
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden