Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: property_getAttributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: property_getAttributes




On Mar 18, 2008, at 7:33 PM, Bill Bumgarner wrote:

On Mar 18, 2008, at 5:13 PM, Guy English wrote:
I'm working on a Lua bridge with and understanding of more of ObjC 2.0 features. Can I rely on the order of the comma separated attributes in the string returned by property_getAttributes? If not is there some documentation to tell me how I should be parsing that?

No, it is an implementation detail.

It is also rather poorly documented at this time.

Please file a bug report describing your needs.

Resurrecting this a bit; 6270023 has my take on this issue. It doesn't seem that I can implement @dynamic properties fully without looking at the format of the property attributes. That is, +resolveInstanceMethod:, @dynamic and the ObjC-2 property introspection are public, it should possible for me to, you know, actually use them. Right now, if I want to do something like add dynamic properties to OmniDataObjects, possibly with scalar property support, I won't know what IMP to use w/o looking at the property encoding.


Obviously it's trivial to figure out what they mean right now, but it'd be nice to have that format documented.

-tim


_______________________________________________ Do not post admin requests to the list. They will be ignored. Objc-language mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.