Hey everyone,

Is there a way to get the class of an ivar that's an object? I know that I can call ivar_getTypeEncoding() on the Ivar and get a c string of the type encoding, and I've noticed that many of the Ivars that are objects are of the form @"{class name}". Is that consistent? Can I reliably pull out that stuff in between the quotes to get the class of the Ivar? (This seems sketchy to me...) Is this the best way to do this? If not, what do I need to do to get the Ivar's type?

Thanks,

Dave DeLong
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to