Private Preferences framework should be made public
| Originator: | adam | ||
| Number: | rdar://26880523 | Date Originated: | 19-Jun-2016 04:23 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | iOS 10.0 (14A5261v) |
| Classification: | Feature | Reproducible: | Not Applicable |
Summary: The private Preferences framework has been very well documented by the community: http://iphonedevwiki.net/index.php/Category:Preferences. It makes setting/form view controllers significantly easier to make, reducing a great amount of boilerplate code, and it could be argued that without it being part of the official iOS SDK it makes these tasks seem harder than they should. Steps to Reproduce: 1. Create a settings view controller 2. Implement a table view in Interface Builder, or write a data source 3. Implement method of getting/setting preferences 4. Repeat steps for sub-pages Expected Results: These steps are not needed. Table views are constructed from a property list containing all data needed for a working UI. View controllers only need to specify their corresponding property list, and custom getter/setter/action methods. Custom views can be implemented easily using a standard protocol. Actual Results: Developer is frustrated because they must either consume time constructing a table view UI, possibly even manually managing it with a UITableViewDataSource. Version: iOS 10.0 (14A5261v) Notes: Configuration: N/A 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!