Once a tableViewController, always a tableViewController
| Originator: | neilmggall | ||
| Number: | rdar://11155087 | Date Originated: | 30/03/2012 |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | 5.1 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When building a storyboard, a tableViewController cannot be changed to a plain viewController even if the underlying custom class is changed. The storyboard editor always assumes the view controller is a tableViewController and won't let a UIView be attached as its main view. Steps to Reproduce: 1. Create a storyboard containing a tableViewController with a custom view controller class. 2. Change the custom class to be just a UIViewController subclass. 3. Observe that the storyboard still thinks the view controller is a tableViewController. 4. Edit the XML by hand to change <tableViewController> to <viewController> 5. Observe that the storyboard now works. Expected Results: The storyboard editor should be able to recognise step 2 and perform step 4 above automatically. Actual Results: You are forced to live like an Android developer and edit XML by hand. Regression: No. Notes:
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!