You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the prototype cell is a custom class, it crashes.
I create my custom cell
< class MyCellClass: UITableViewCell {> < // code> < }>
I associate it with the prototype cell in the storyboard.
And it crashes on this line : < let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! MyCellClass>
=> Could not cast value of type 'UITableViewCell' (0x10bf7ec68) to 'ReorderTest. MyCellClass'
Is there a way to avoid that ?
The text was updated successfully, but these errors were encountered:
If the prototype cell is a custom class, it crashes.
I create my custom cell
< class MyCellClass: UITableViewCell {>
< // code>
< }>
I associate it with the prototype cell in the storyboard.
And it crashes on this line :
< let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! MyCellClass>
=> Could not cast value of type 'UITableViewCell' (0x10bf7ec68) to 'ReorderTest. MyCellClass'
Is there a way to avoid that ?
The text was updated successfully, but these errors were encountered: