Re: Limiting notifications to one document
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