FROM : Paul Bruneau
DATE : Tue Nov 06 21:40:30 2007
On Nov 6, 2007, at 11:25 AM, Keary Suska wrote:
> didEndSelector does not have to do with where your code is, it has
> to do
> with the nature of modal sheets. Because the sheet starts an event
> loop, you
> need a callback method to return control to the caller. This is
> likely the
> main issue you are looking at, if you are confronted with the need
> to put up
> a sheet in the middle of a method.
>
> You can use a modal alert window instead of a sheet, which does
> what you may
> want, but watch out for HIG (Human Interface Guidelines). Otherwise
> you may
> have to segment the method call, regardless of "where" you put the
> method.
Thank you Keary-
I understand now why the separate method is required. I will do it
the right way and segment my methods where necessary to use the
NSAlert sheets. Thanks for the answers to my other questions too.
DATE : Tue Nov 06 21:40:30 2007
On Nov 6, 2007, at 11:25 AM, Keary Suska wrote:
> didEndSelector does not have to do with where your code is, it has
> to do
> with the nature of modal sheets. Because the sheet starts an event
> loop, you
> need a callback method to return control to the caller. This is
> likely the
> main issue you are looking at, if you are confronted with the need
> to put up
> a sheet in the middle of a method.
>
> You can use a modal alert window instead of a sheet, which does
> what you may
> want, but watch out for HIG (Human Interface Guidelines). Otherwise
> you may
> have to segment the method call, regardless of "where" you put the
> method.
Thank you Keary-
I understand now why the separate method is required. I will do it
the right way and segment my methods where necessary to use the
NSAlert sheets. Thanks for the answers to my other questions too.
| Related mails | Author | Date |
|---|---|---|
| Keary Suska | Nov 6, 17:25 | |
| Paul Bruneau | Nov 6, 17:29 | |
| Paul Bruneau | Nov 6, 21:40 | |
| David Spooner | Nov 6, 22:50 | |
| Uli Kusterer | Nov 6, 23:40 | |
| Paul Bruneau | Nov 7, 17:14 |






Cocoa mail archive

