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

Re: NSClassDescription Clarification


  • Subject: Re: NSClassDescription Clarification
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 5 Nov 2008 17:08:21 +0100

Le 5 nov. 08 à 16:43, Carmen Cerino Jr. a écrit :

I would like to take advantage of Key-Value Programming in my
application. Utilizing key-value programming I would like the ability
to iterate through all of my object's values or members. If I am
understanding NSObject's documentation right, I need to implement a
class description in order to get the attributeKeys method to work. I
am a little lost on what a class description is or what one is suppose
to look like. Can anyone provide some clarification or point me to
some examples?


What do you not understand in the class overview (in the documentation) ?


http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSClassDescription_Class/Reference/Reference.html

You just have to create your own description class, registring it, and it's done.



_______________________________________________

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: 
 >NSClassDescription Clarification (From: "Carmen Cerino Jr." <email@hidden>)

  • Prev by Date: Re: Forcing garbage collection, freeing up memory, thrashing
  • Next by Date: NSTimer issue
  • Previous by thread: NSClassDescription Clarification
  • Next by thread: NSTimer issue
  • Index(es):
    • Date
    • Thread