Hi all,

I have been using Obj-C runtime to introspect my objects. I am using
property_getAttributes to inspect the type / Class name etc for my
properties.

I want to be able to uniquely identify some of my properties which are
essentially NSStrings and NSArray instances.

I used typedef to define an alias of NSString and NSArray and defined
the properties using the new types, but when I use
property_getAttributes the property string has the original data type
i.e NSString or NSArray.

Is there a way that I can ask property_getAttribute to return the
defined names not the parent names?

Subclassing is my only other option to solve my problem but I want to
refrain from doing that for core Obj-C types.

Thanks for your time.
_______________________________________________

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