Re: Obtaining an array of the names of the attributes and relations of a class
Re: Obtaining an array of the names of the attributes and relations of a class
- Subject: Re: Obtaining an array of the names of the attributes and relations of a class
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 21 Nov 2005 13:52:01 -0800
On Nov 21, 2005, at 7:23 AM, Francis Derive wrote:
So, in the code above I just used the NSObject's instance method
"classDescription" which gives a NSClassDescription object, and I
know that the application of attributeKeys method on that object
should have been "Overriden", but I don't know what to do about
that, and so...
What are you actually trying to achieve?
If you need to get the instance variables defined for a class, you
can use the Objective-C runtime functions -- see <http://
developer.apple.com/documentation/Cocoa/Reference/ObjCRuntimeRef/
Reference/reference.html>.
If you need additional "meta" information (for example, which ivars
are attributes and which are relationships), then you need to provide
it yourself...
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden