I have encoutered a few properties that have been fooling objc_util. Also some which produce invalid encodings, or at least encodings that objc_util cannot parse:
For context, I am making a little view heirachy browser, and though it could be useful to pop up an objc instance browser (show property values, etc). This is mostly working, but certain property names get mangled by ObjCInstance ethod. The offending bit seems to be this regex:
I am not sure if property_getAttributes changed somewhere, or if this situation is so rare (G in the return type) that it was never an issue. It seems as if maybe the regex needs to look for a comma before the G, so as not to get confused by the CGPoint.
(sorry, to clarify, this issue is about property names being invalid when calling the objc method... there is a separate but relates issue with return type encodings)
I have encoutered a few properties that have been fooling objc_util. Also some which produce invalid encodings, or at least encodings that objc_util cannot parse:
For context, I am making a little view heirachy browser, and though it could be useful to pop up an objc instance browser (show property values, etc). This is mostly working, but certain property names get mangled by ObjCInstance ethod. The offending bit seems to be this regex:
As an example, of a prop_attrs that fails:
returns a method with a name
Point=ff}
...I am not sure if property_getAttributes changed somewhere, or if this situation is so rare (G in the return type) that it was never an issue. It seems as if maybe the regex needs to look for a comma before the G, so as not to get confused by the CGPoint.
<_sre.SRE_Match object; span=(3, 14), match='GPoint=ff},'>