Re: Need Better Understanding of Modal Delegates
Re: Need Better Understanding of Modal Delegates
- Subject: Re: Need Better Understanding of Modal Delegates
- From: Jerry Krinock <email@hidden>
- Date: Sun, 18 Feb 2007 21:13:27 -0800
- Thread-topic: Need Better Understanding of Modal Delegates
on 07/02/17 16:20, Brian Ganninger at email@hidden wrote:
> You are running the dialog in different modes, and that's what needs
> to be understood...
Brian, thanks I understand that this is "the way it is", but it seems to me
like the "the way it is" doesn't make sense, and since most things in Cocoa
make sense, I wonder why this doesn't. Maybe the inability to return a
value is an unintended side effect of making the sheet document-modal, and I
should just accept the fact that even in Cocoa, the world is not perfectly
round and symmetric?
And, also, regarding my second question, if my Cosmetics Dept. insisted that
my "save:" method, returning an error/result, put up a sheet instead of a
dialog, has anyone ever done this? Maybe I could do it by spinning off
another thread, but that seems like a pretty complicated solution to a
pretty everyday problem.
Jerry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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