Forum Xamarin.iOS

How to display dynamic prototype content in storyboard?

MattBenicMattBenic ZAMember ✭✭
edited June 2014 in Xamarin.iOS

Hi all,
I have started on a relatively simple storyboard, in which I have a UITableView added to a UIView. The UITableView has a custom UITableView subclass set in "Class" under Identity, which provides 3 UITableViewCellStyle.Subtitle style cells with their TextLabel.Text and DetailTextLabel.Text set (to static text).

This all displays fine when I run the application, but in the storyboard editor the content is not displayed and an error "!" is displayed. Clicking on it displays the exception detail indicating the custom class couldn't be converted to a UITableView:

Am I missing something here? Am I mistaken in expecting this to be possible?

Sign In or Register to comment.