On Aug 19, 2011, at 11:48 PM, Devraj Mukherjee wrote:

> I am trying to
> find a way that I can automate the parsing process by introspecting
> the class etc.

You can use low-level Objective-C APIs to introspect the instance variables of 
a class by type/name/offset.

> To assist with the introspection I was hoping to use for lack of
> better words, something like decorators in Python to provide extra
> information about the property.

There’s no mechanism to let you tag an instance variable or property with 
custom metadata. But you can find its class, which might be enough information 
for your purposes.

—Jens_______________________________________________

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