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

NSClassDescriptionNeededForClassNotification


  • Subject: NSClassDescriptionNeededForClassNotification
  • From: Kevin Bracey <email@hidden>
  • Date: Mon, 21 Mar 2011 21:45:21 +1300

Hi there,

I hope that I could "register class descriptions lazily", I like doing most things lazily.

But I can't find where or how to listen for the NSClassDescriptionNeededForClassNotification.

I've place [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector( registerClassDescription: ) name:NSClassDescriptionNeededForClassNotification object:nil]; in either my AppDelegate and my model object.

It just doesn't seem to fire when  classDescriptionForClass: does not find a class.

I have fired it manually with [[NSNotificationCenter defaultCenter] postNotificationName:NSClassDescriptionNeededForClassNotification object:self]; and my
- (void)registerClassDescription:( NSNotification *)aNotification
{
	NSLog(@"Looking for Notification" );
}

logs fine.

Can any shed some light on where and how to get notified of NSClassDescriptionNeededForClassNotification?

cheers
Kevin_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSClassDescriptionNeededForClassNotification
      • From: RenĂ© v Amerongen <email@hidden>
  • Prev by Date: Re: Exception not being caught
  • Next by Date: UITabBarController calls viewDidAppear
  • Previous by thread: Re: TableView sorts and then it doesn't--SOLVED
  • Next by thread: Re: NSClassDescriptionNeededForClassNotification
  • Index(es):
    • Date
    • Thread