I am trying to display a list of users on a table and remove the row which contains the current user. I have looked at [this](http://iphonedevsdk.com/forum/iphone-sdk-development/32794-skip-remove-row-on-load-of-tableview.html) an [this](https://spin.atomicobject.com/2017/04/19/static-uitableview-programmatically-remove-cell/) post but it didn't work for me. Each of my user has their own unique id which I can check if it exists. However I am not sure about the function needed to remove a specific row.

I have attempted this:

```
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
    let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)

    let users = UserManager.shared.users[indexPath.row]

    if(users.key == "") {
    // Skip the specific user

    }

    return cell
}

```