Re: List of delegates
Re: List of delegates
- Subject: Re: List of delegates
- From: email@hidden
- Date: Thu, 09 May 2002 11:17:41 -0700
Matt Rollefson wrote:
|please be specific about the "lot" to be
|desired about the current documentation.
The particular thing I keep finding is that it is woefully inadequate on the subject of using Foundation and AppKit classes in conjunction with multiple threads. For instance, I don't believe that NSNotificationCenter's documentation states that the notification is delivered to the same thread that posts the notification. In a multiply-threaded application, this can be very important to know. (Yes, there's a list of classes likely to be thread-safe, but all too often, that's just not enough information.)
Especially, it would be useful to include instruction--and sample code--on how to have the UI thread and non-UI threads interact, so that background threads can safely update the UI as necessary, and the UI control the background threads. (Several discussions have appeared on this list recently on exactly that subject.) Often, this translates into a need to deliver notifications across threads (usually, from a non-UI thread to the UI thread), a function that doesn't appear to exist.
Glen Fisher
_______________________________________________
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.