Re: canceling a performSelector:withObject:afterDelay:
Re: canceling a performSelector:withObject:afterDelay:
- Subject: Re: canceling a performSelector:withObject:afterDelay:
- From: DaveM <email@hidden>
- Date: Sun, 09 May 2010 19:51:03 -0600
OK, I knew it - the one thing I didn't try (my examples were the statements I was using).
This instance/class/inheritance/self thing keeps tripping me up when converting from ObjectiveC, it seems to be a common issue. I had tried using NSObject in the performRequest, since most things have balanced class/instance declarations, but (the light bulb is starting to glow dimly now) since the script is already an instance, this would have added another layer in there somewhere. I think I have a better understanding of this now (good thing I don't do this for a living).
Thanks, Dave
on Mon, 10 May 2010 09:05:07 +1000 Shane Stanley wrote: It works for me. Are you calling cancelPreviousPerformRequestsWithTarget_ as a class method? If that's not the problem, we'd really need to see more code.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden