• 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: NSObject performSelectorOnMainThread:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSObject performSelectorOnMainThread:


  • Subject: Re: NSObject performSelectorOnMainThread:
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 13 Mar 2003 19:19:35 -0800

On Thursday, March 13, 2003, at 08:51 AM, spike wrote:

so I have my controller class call it liek this (in my thread method):

[self performSelectorOnMainThread: @selector(updateMainGUI:) withObject: [NSNumber numberWithBool: YES] waitUntilDone: NO];

to test it out, I did this in my updateMainGUI:

- (void)updateMainGUI:(NSNumber *)isStarting {
NSLog(@"updateMainGUI!!!! Go go go!");
}

EVERY time I call performSelectorOnMainThread, I get a signal 11 SIGSEGV.

1. What version of Mac OS X are you using?

2. Do you have a crash log or some other backtrace?

I've used -mainThreadPerformSelector: from the OmniFoundation framework a number of times with no problems. If that still doesn't work for you, then you might want to try using OmniFoundation...

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://dreamless.home.attbi.com/

Smile! It confuses people!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSObject performSelectorOnMainThread:
      • From: spike <email@hidden>
References: 
 >NSObject performSelectorOnMainThread: (From: spike <email@hidden>)

  • Prev by Date: Re: UI responsiveness
  • Next by Date: Re: Stripping HTML tags
  • Previous by thread: NSObject performSelectorOnMainThread:
  • Next by thread: Re: NSObject performSelectorOnMainThread:
  • Index(es):
    • Date
    • Thread