• 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: Rapid use of NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Rapid use of NSTextField (From: Justin Bakse <email@hidden>)
 >Re: Rapid use of NSTextField (From: Bob Ippolito <email@hidden>)
 >Re: Rapid use of NSTextField (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Rapid use of NSTextField
  • Next by Date: Re: Rapid use of NSTextField
  • Previous by thread: Re: Rapid use of NSTextField
  • Next by thread: Re: Rapid use of NSTextField
  • Index(es):
    • Date
    • Thread