NSWindow from another thread.
NSWindow from another thread.
- Subject: NSWindow from another thread.
- From: Steve Checkoway <email@hidden>
- Date: Fri, 13 Jan 2006 20:41:26 -0800
I need to send a few messages to an NSWindow from a thread other than
the main thread. Are any of these safe to do from the other thread or
do I need to use
performSelectorOnMainThread:withObject:waitUntilDone: for all of them?
alloc obviously not to a particular window
initWithContentRect:styleMask:backing:defer:
setExcludedFromWindowsMenu: not all that important
useOptimizedDrawing: I'm not entirely sure why I have this one any
longer
setContentSize:
setTitle:
setContentView:
center
makeKeyAndOrderFront:
Some of these get called together so if they need to be called on the
main thread would it make sense to declare a category on NSWindow and
implement some method that calls the ones that can be called together?
- Steve
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden