I am doing a Apple Developer Tutorial and I have a couple basic questions about the lines of code at the bottom:
Neither one of these lines of code alloc and init the objects that they create? Is this because the objects are assigned values at their creation?
The dequeueReusableCellWithIdentifier method - Is the only way that this method returns nil is if there is no cell object with the same name as the cell identifier parameter? What if there was no cell in the pool that it could reuse, does it then create one or return nil? The documentation states that the method returns - A UITableViewCell object with the associated identifier or nil if no such object exists in the reusable-cell queue.
Thanks ahead of time for the help
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
BirdSighting *sightingAtIndex = [self.dataController objectInListAtIndex:indexPath.row];