NSTextStorage subclass crashes on invoking inherited initializer

Originator:an00na
Number:rdar://46983109 Date Originated:December 30 2018, 2:09 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:12.1
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Area:
UIKit

Summary:
TextStorage.init(string:) crashes with "[TextStorageSubclass initWithString:] unrecognized selector sent to instance".

Launch sample project to see the crash.

Code: https://mega.nz/#!EX4ykYZD!3fpMJAZES35jP94TFbQR6Me6OOzOKYAWszlfxY95G9Q

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!