Re: NSNotificationCenter and a modal window - a problem [solved]
Re: NSNotificationCenter and a modal window - a problem [solved]
- Subject: Re: NSNotificationCenter and a modal window - a problem [solved]
- From: Alexander Bokovikov <email@hidden>
- Date: Wed, 24 Mar 2010 13:30:46 +0500
On 24.03.2010, at 12:48, Ken Thomases wrote:
You need to invoke -readInBackgroundAndNotifyForModes: and pass an
array of modes which includes NSModalPanelRunLoopMode (or
NSRunLoopCommonModes, which includes NSModalPanelRunLoopMode by
default).
Many thanks! Really I should look at that method, but I looked at the
notification center, which has minimum of methods. Don't know why but
I decided that this aspect should be taken into account when an
observer is added. Now it's obvious for me, that I should look at the
notification generator too.
NSTask termination is caught without any problems. The problem was
just in reading from pipe.
Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden