I am trying to create an
The constraint outlet from the CustomTableViewController to the NSLayoutConstraint is invalid. Outlets cannot be connected to repeating content.
UITableViewCell subclass. In the declaration, declare an outlet property whose value is an
NSLayoutConstraint. In the storyboard, select the prototype cell and set its class to be your subclass. Draw the outlet between the cell and the constraint. In your
cellForRowAt implementation, cast the dequeued cell to your subclass. Now you can refer to the constraint property.