Reputation: 4906
I'm really going crazy: I can't simply set my custom class for a UITableViewCell and I really don't know why.
In my Storyboard I have a table view controller set to use ManageListsTVC.swift.
I want use a custom cell with dynamic prototypes so I create a custom class ListTVCell:
import UIKit
class ListTVCell: UITableViewCell
{
override func awakeFromNib()
{
super.awakeFromNib()
// Initialization code
}
override func setSelected(selected: Bool, animated: Bool)
{
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
So, clean, build, go in IB, select my table view controller, select the cell and...
I can't see my custom class! Why? Really, I waste so much time already for this stupid problem and I don't know what's wrong.
I'm using Xcode 6.3.1.
Upvotes: 1
Views: 2559
Reputation: 4906
--> incredibly after a complete reboot of my Mac now everything works and I can set my custom class.
Really strange but I decide to reply to my post, maybe can be helpful for someone else.
Upvotes: 5