• 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: Limiting notifications to one document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limiting notifications to one document


  • Subject: Re: Limiting notifications to one document
  • From: Jiri Volejnik <email@hidden>
  • Date: Fri, 1 Oct 2004 16:39:53 +0200

Simply pass your document as "anObject" argument to both methods (-postNotificationName:object: and -addObserver:selector:name:object:)
Jirka

On Oct 1, 2004, at 2:14 PM, Björn Carlström wrote:

I'm sure I'm missing the obvious here, but how do I limit notifications to one document in a multi-document app. Do I need to set up a separate notification center for every document or is there another way?
What I want to do for instance is to send a notification when some data has been altered that affects how some views look. I only want to recalc these views when data has been altered in the same document.
Björn Carlström

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Limiting notifications to one document
      • From: Björn Carlström <email@hidden>
References: 
 >Limiting notifications to one document (From: Björn Carlström <email@hidden>)

  • Prev by Date: Re: Help assistant
  • Next by Date: Re: Coredumps
  • Previous by thread: Limiting notifications to one document
  • Next by thread: Re: Limiting notifications to one document
  • Index(es):
    • Date
    • Thread