Re: NSObject performSelectorOnMainThread:
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.