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

Re: NSClassDescriptionNeededForClassNotification


  • Subject: Re: NSClassDescriptionNeededForClassNotification
  • From: RenĂ© v Amerongen <email@hidden>
  • Date: Tue, 22 Mar 2011 20:00:56 +0100

Hi,

I have never use it, and never look into this. Maybe a class method instead.


Op 21 mrt 2011, om 09:45 heeft Kevin Bracey het volgende geschreven:

> 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
>

_______________________________________________

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

References: 
 >NSClassDescriptionNeededForClassNotification (From: Kevin Bracey <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: (no subject)
  • Previous by thread: NSClassDescriptionNeededForClassNotification
  • Next by thread: UITabBarController calls viewDidAppear
  • Index(es):
    • Date
    • Thread