UITextRange copy mismatch

Originator:robnapier
Number:rdar://12104781 Date Originated:15-Aug-2012 01:30 PM
Status:Open Resolved:
Product:iPad SDK Product Version:
Classification: Reproducible:
 
In <UITextInput>, selectedTextRange is defined as a copy parameter. However, UITextRange does not conform to <NSCopying>. This leads to confusing "unrecognized selector" crashes.

Either UITextRange should be modified to conform to <NSCopying>, or <UITextInput> should be modified as:

@property (readwrite, copy) UITextRange<NSCopying> *selectedTextRange;

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!