@unicornmobile

Unwrapping optionals in dequeueReusableCell & dequeueResuableCellWithIdentifier

There are two unique methods in the dataSource for UITableVIew: dequeueReusableCell(withIdentifier identifier: String, for indexPath: IndexPath) -> UITableViewCell, dequeueReusableCell(withIdentifier identifier: String) -> UITableViewCell?. A subtle difference separates the two: an optional. The former returns an optional, the latter does not. Optionals deal with values at nil. If a value is optional, then the optional must be...