> On Feb 22, 2015, at 9:30 AM, Kyle Sluder <k...@ksluder.com> wrote:
> 
> The compiler does keep type info for properties, but that’s not actually 
> documented.

It’s documented in the “Declared Properties” section of the “Objective-C 
Runtime Programming Guide”:

        You can use the property_getAttributes function to discover the name,
        the @encode type string of a property, and other attributes of the 
property.

I was surprised to hear that the full return type of a method isn’t available, 
the way it is for properties. Weird…

—Jens
_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to