preferredContentSizeCategory should return an enum value
Originator: | samuel.watts | ||
Number: | rdar://24607942 | Date Originated: | 11/02/2016 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | iOS 9.2 |
Classification: | UI/Usability | Reproducible: | Always |
Summary: preferredContentSizeCategory currently returns a String, which means that any code handling it needs to manually check that it is handling all values If this were an enum (in Swift it could be a String backed enum), the code would be a lot cleaner and robust Steps to Reproduce: View docs Expected Results: preferredContentSizeCategory should return an enum type Actual Results: preferredContentSizeCategory returns String Version: iOS 9.2 Notes: Configuration: iOS 9.2 Attachments:
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!