• 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: Björn Carlström <email@hidden>
  • Date: Sat, 2 Oct 2004 01:04:49 +0200


2004-10-01 kl. 23.37 skrev j o a r:


On 2004-10-01, at 22.38, Björn Carlström wrote:

1. I want to pass another object as argument.

You could pass it in the "user info" dictionary.

Thats probably the best solution.

2. Not every object receiving the notification knows which document it belongs to. I could set this up but it would be rather complex.

Then how did you plan to set up the separate notification centers? If the listener doesn't know about the document it's supposed to monitor, how did you plan to allow it to recognize it?

I'm sure you can find a design where you can tie this together. Be creative!


I wasn't planning, I was asking. It seems like limiting notifications to one document would be a fairly common problem, that perhaps was part of the cocoa design, perhaps as part of NSDocument or one of its related classes. When browsing through the documentation and other helpful sites without finding any solution I post a question to this helpful community.

I can always be creative, but I don't want to reinvent the wheel.

Björn

_______________________________________________
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: "Louis C. Sacha" <email@hidden>
References: 
 >Limiting notifications to one document (From: Björn Carlström <email@hidden>)
 >Re: Limiting notifications to one document (From: Jiri Volejnik <email@hidden>)
 >Re: Limiting notifications to one document (From: Björn Carlström <email@hidden>)
 >Re: Limiting notifications to one document (From: j o a r <email@hidden>)

  • Prev by Date: Binding/KVC : implicit and explicit invocation of description method
  • Next by Date: Scripting and objectSpecifier issue
  • Previous by thread: Re: Limiting notifications to one document
  • Next by thread: Re: Limiting notifications to one document
  • Index(es):
    • Date
    • Thread