I don’t believe the Apple Documentation mentions what the default reuse identifier for a cell is. I have seen others use “cell” in code but I would advice against doing this since this is not documented behaviour. Should Apple change this at some point in time, your code would break.
Instead, first register a reuse identifier in your view controller using code similar to the following:
Sorry, I didn’t realize you were asking a question about code from the book I thought it was a generic question.
The code in the book works like this - it will try to dequeue a cell first, but it would fail. Then the else branch of the condition creates a new cell with the identifier provided. That way, you don’t have to register the cell identifier beforehand.
I believe it was done this way to illustrate the different ways you can create a new cell. However, when you’re normally creating table cells and don’t have a prototype cell in your storyboard, simply registering the cell identifier beforehand would result in more straightforward and cleaner code