You should change number of rows in tableView:numberOfRowsInSection:
. Obviously, if you remove three rows, number of rows will change.
It will also affect the indexPath
in tableView:cellForRowAtIndexPath:
method. After skipping first three items, indexPath.row = 0
should correspond to third item in item array.
In other words:
numberOfRows = items.count - numberOfSkippedRows
item = items[indexPath.row + numberOfSkippedRows]