UISearchBar should support NSAttributedString

Originator:futuretap
Number:rdar://12222994 Date Originated:03-Sep-2012 12:16 AM
Status:Duplicate/36322936/Open Resolved:
Product:iPhone SDK Product Version:6.0 beta 4
Classification:Feature (New) Reproducible:Not Applicable
 
Since the search field is essentially a UITextField, it should support NSAttributedString for styling the font of the search field.

Specifically, I'd like to see attributed counterparts for all NSString properties:

@property(nonatomic, copy) NSAttributedString *attributedPlaceholder;
@property(nonatomic, copy) NSAttributedString *attributedPrompt;
@property(nonatomic, copy) NSAttributedString *attributedText;

Analogous to UITextField, a typingAttributes dictionary for newly typed in text would be needed:

@property(nonatomic,copy) NSDictionary *typingAttributes;

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!