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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to