Re: Asynchronous call of Selector - is this code OK?
Re: Asynchronous call of Selector - is this code OK?
- Subject: Re: Asynchronous call of Selector - is this code OK?
- From: Manfred Lippert <email@hidden>
- Date: Sat, 02 Feb 2002 11:47:47 +0100
>
Well, it may call readFromFile while the sheet is open, but presumably it does
>
this after the user has clicked OK
Yes, for sure, that's true! So my "polling" won't take for a long time
anyways. I don't know why, but I missed that fact ...
Great!
>
I also note, in NSWindow.h, the notification and delegate message
>
-(void)windowDidEndSheet:(NSNotification *)notification;
Great, thanks, that's another idea I'll take a look at.
I got some other tip (off this list) to try to override the
updateChangeCount method. It might work also, but I have to test it.
So it seems that I can get rid of my polling solution.
Thank you all!
Regards,
Mani