• 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
NSDistributedNotification and [ notification object ]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDistributedNotification and [ notification object ]


  • Subject: NSDistributedNotification and [ notification object ]
  • From: "Sven A. Schmidt" <email@hidden>
  • Date: Thu, 3 Jan 2002 14:11:34 +0100

I'm using NSDistributedNotifications and found that there are problems with the NSNotification object at the receiving end:
[ notification object ] always returns nil, while [ notification name ] returns the expected notification string. [ notification userInfo ] also works, so it's actually easy to work around this problem.

The object I send is an NSString (as required) and it's properly retained (I actually "overretained" it, too) on the sending end. Everything's identical to the userinfo part which works.

Has anyone else seen this?

Sven


  • Prev by Date: Background app + NSTimer
  • Next by Date: Re: NSTask, NSPipe's and interactive UNIX command
  • Previous by thread: Re: Background app + NSTimer
  • Next by thread: Cocoa Developer in Training: Language Question (ObjC or Java)?
  • Index(es):
    • Date
    • Thread