protocol_getProperty does not respect isRequiredProperty argument
| Originator: | kykimnyc | ||
| Number: | rdar://21065389 | Date Originated: | 21-May-2015 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Reproducible: | Yes |
Summary:
If a protocol has an optional property, invoking
protocol_getProperty(protocol, name, NO, YES/NO)
does not return the property.
Steps to Reproduce:
See attached project
Expected Results:
Expect application to log:
Hello, World!
Found Required Instance Property (required) in Protocol
Found Optional Instance Property (optional) in Protocol
Actual Results:
Hello, World!
Found Required Instance Property (required) in Protocol
Found Required Instance Property (optional) in Protocol
Version:
Xcode Version 6.3.2 (6D2105)
OS X Yosemite Version 10.10.3 (14D136)
Notes:
Configuration:
Attachments:
'PropertyRuntimeInspection.zip' was successfully uploaded.
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!