• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: canceling a performSelector:withObject:afterDelay:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: canceling a performSelector:withObject:afterDelay:
  • Next by Date: run script fails to execute handler
  • Previous by thread: Re: canceling a performSelector:withObject:afterDelay:
  • Next by thread: run script fails to execute handler
  • Index(es):
    • Date
    • Thread