UITextView linkTextAttributes should use NSAttributedStringKey
Originator: | douglashill | ||
Number: | rdar://34994725 | Date Originated: | 14-Oct-2017 06:51 pm |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | Xcode 9.0 (9A235) |
Classification: | Other Bug | Reproducible: | Always |
Summary: UITextView’s linkTextAttributes property has type [String : Any]! but should be [NSAttributedStringKey : Any]! in Swift 4. Steps to Reproduce: View Swift 4 interface of UITextView Expected Results: linkTextAttributes to have type [NSAttributedStringKey : Any]! Actual Results: Type is [String : Any]! Version: Xcode 9.0 (9A235) Notes: (Unfortunately needs the ! because of null_resettable, but that’s a different problem.)
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!