Tableview prototype cell not displaying items appended in array

28 Views Asked by At

So here I made a class with two properties named Item. I am appending the item in the array but when I run the app I can only see two items: the first one and the last one. I appended five items. I can checkmark all 5 cells but only two items are displaying and one cell is not having a separating line.

This is the simulator image; as you can see no third item is showing but I can still check it and 3rd cell has no separator.

Code

0

There are 0 best solutions below