I going through Apple's book "Develop in Swift Data Collections" and the starting point as follows:
We have a table view controller with "Label Outlet"
We have a first Swift file called "EmojiTableViewController" with main class. This class is connected to ViewController
class EmojiTableViewController: UITableViewController {
}
We have a second Swift file called "EmojiTableViewCell" with subclass This class is connected to cell
class EmojiTableViewCell: UITableViewCell {
@IBOutlet var nameLabel: UILabel!
}
And the goal is to connect IBOutlet in the second file (EmojiTableViewCell) with the Storyboad. The problem is that no matter what I do the "Assistant" opens the main class. How should I change assistant to show subclass or how could I connect outlets via code?