Possibility to state object type for NSArray
| Originator: | jacopo | ||
| Number: | rdar://14360319 | Date Originated: | 05-Jul-2013 01:42 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.0 |
| Classification: | Enhancement | Reproducible: | N/A |
Summary: For IB in Xcode there is the IBOutletCollection that specify for a NSArray that contains graphics elements of the specified type. It would be nice if in the future will be introduced a macro that states for every property or instance of NSArray that this would be an array of only one type of object. It would be a lousy control, only for aid the developer during the coding, easily avoided by casting the object to id, but for distract people that would avoid some distracting type errors.
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!