• 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
Tizzy over notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tizzy over notifications


  • Subject: Tizzy over notifications
  • From: Drew McCormack <email@hidden>
  • Date: Tue, 16 Oct 2001 09:31:00 +0200

I've managed to get myself in a real tizzy over notifications. I want to keep data in two windows synchronized, but it isn't going to plan, and I suspect the notifications mechanism I have in place.
The question I have is, are posted notifications dispatched immediately, or are they sent at the end of the current event loop, or something like that?
This is important for me so that I can establish the causal sequence of events in my program. At the moment, things seem to be occurring in a way I had not anticipated.
A more specific example is the NSTextDidEndEditingNotification. I assumed this would only be posted if the user finished editing the text, but it seems to also occur when you use the "setString:" method. Is that correct? Also, related to what I asked above, will an object that has requested this notification receive it directly after the text finished editing, or will it only occur later (eg at the end of the event loop)?

Drew McCormack

================================
Dr. Drew McCormack
Department of Theoretical Chemistry
Science Faculty
Free University Amsterdam
De Boelelaan 1083
1081 HV Amsterdam
The Netherlands

Email :: email@hidden
Tel. :: +31 20 44 47623
Fax :: +31 20 44 47629


  • Prev by Date: Re: Client/Server followup
  • Next by Date: Dragging examples?
  • Previous by thread: Re: Linker Errors when using std::string
  • Next by thread: Dragging examples?
  • Index(es):
    • Date
    • Thread