• 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
using performSelectorInBackground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using performSelectorInBackground


  • Subject: using performSelectorInBackground
  • From: "Rick C." <email@hidden>
  • Date: Tue, 16 Jun 2009 09:53:22 -0700 (PDT)

hello,

i have the following nstimer method which works fine in my project:

+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)seconds target:(id)target selector:(SEL)aSelectoruserInfo:(id)userInfo repeats:(BOOL)repeats

however i need to use a separate thread for other reasons and i have now placed a call to my nstimer method from inside of my nsobject performSelectorInBackground selector and it no longer gets called.  i'm just learning about multi-threading and the performSelectorInBackground method is simple and works for me except for the call to my nstimer method.  i'm sure there's a reason why.  any thoughts?

thank you very much,

rick



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: using performSelectorInBackground
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Any Good Core Animation Tutorials?
  • Next by Date: Re: using performSelectorInBackground
  • Previous by thread: Re: UndoManager for NSApplication
  • Next by thread: Re: using performSelectorInBackground
  • Index(es):
    • Date
    • Thread