• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Asynchronous call of Selector - is this code OK?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Asynchronous call of Selector - is this code OK? (From: email@hidden)

  • Prev by Date: Re: Connecting standard output to an NSTextView
  • Next by Date: Re: Re(4): optimizing compilers
  • Previous by thread: Re: Asynchronous call of Selector - is this code OK?
  • Next by thread: Multiple NSTextView in an NSScrollView -- if possible
  • Index(es):
    • Date
    • Thread