I have a piece of code that has been running fine in it's view controller. I wanted to clean it up, so I added in a table view so that it would be more clean. I just created cells in the table view and drag and dropped my label and buttons. However now I have the error of
Outlets cannot be connected to repeating content
which I know has been asked before, however I cannot get a specific answer on why this happens. Here is my view controller code where the labels are being connected. I know that there is the solution of making a subclass, but everything already works in the view controller so I was wondering if there was a more simple fix to this.
class CharViewController: UIViewController, BLEDelegate, MFMailComposeViewControllerDelegate, UIPickerViewDelegate, UIPickerViewDataSource, UITableViewDelegate, UITableViewDataSource {
@IBOutlet weak var label: UILabel!
etc etc etc
And where the only thing I did was drag and drop from my view onto a table view cell.