Re: Rapid use of NSTextField
Re: Rapid use of NSTextField
- Subject: Re: Rapid use of NSTextField
- From: j o a r <email@hidden>
- Date: Sun, 18 Apr 2004 22:39:47 +0200
On 2004-04-18, at 22.19, Sherm Pendley wrote:
You should be calling Cocoa stuff on the main thread and only the
main thread.
AppKit stuff, that is. Foundation is supposedly thread-safe.
You are both wrong - it's dangerous to generalize like that... :)
Read the documentation! There are tech notes, or at least release
notes, that covers the thread safety (and lack thereof) in the various
parts of the Cocoa frameworks.
It doesn't sound like you should use the standard text field if you're
going to move the first responder around that much. In fact, I would
doubt that's a very good design from a user perspective. I can
understand the need to update values quickly, but you should rarely
need to move the first responder programmatically - leave that to the
user, it's his domain.
j o a r
_______________________________________________
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.