UITableViewCell isn't IBDesignable
| Originator: | dromaguirre | ||
| Number: | rdar://21360682 | Date Originated: | 12-Jun-2015 07:50 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6 - 7 beta 1 |
| Classification: | Enhancement | Reproducible: | Always |
A descriptive screenshot of the problem: https://dl.dropboxusercontent.com/u/25520122/Descriptive%20Screenshot.png Summary: It seems like UITableViewCell's attached to a UITableViewController tableView aren't IBDesignable-compliant (either for dynamic or static cells) whereas added to a normal UIViewController base view work perfectly. Steps to Reproduce: 1- Create a storyboard file. 2- Add a UITableViewController to it. 3- Make its tableView static (optional). 4- Create a UITableViewCell subclass and make it IBDesignable. 5- Override prepareForInterfaceBuilder in the cell subclass and write "self.backgroundColor = [UIColor blueColor];" 6- Assign the UITableViewCell subclass to the previously added UITableViewCell in IB. Expected Results: The UITableViewCell calls prepareForInterfaceBuilder and the cell background color changes to blue. Actual Results: The cell doesn't change at all, and a permanent "Updating" message appears in the Designable section.
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!