Property attributes of overrided dynamic property is specified as dynamic.
| Originator: | pitiphong.ph | ||
| Number: | rdar://15857781 | Date Originated: | 20-Jan-2014 07:16 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 7.0 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: Property attributes (get by objc runtime API) of overrided dynamic property is specified as dynamic. Steps to Reproduce: 1. Has 2 classes A and B. B is subclass of A. Class A is declare property named name. 2. In the Class A implementation, declare property name as dynamic. 3. In the Class B implementation, override the getter name. 4. Obtains the property attributes via property_getAttributes API. Expected Results: Property name of Class A is specified as Dynamic but is not in Class B. Actual Results: Both classes is specified as dynamic. Regression: Describe circumstances where the problem occurs or does not occur, such as software versions and/or hardware configurations. Notes: If I redeclare property name in Class B interface, the property_getAttributes would specified that property name of Class B is not dynamic.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!