Re: NSClassDescription Clarification
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