In Book 3, page 345, the code to enter says,
"let shipmentEntity =
self.shipmentList[indexPath.row]
cell.textLabel?.text = shipmentEntity.name
cell.detailTextLabel?.text =
"\(shipmentEntity.address),
\(shipmentEntity.city),
\(shipmentEntity.region),
\(shipmentEntity.postalCode)"
However, Xcode does not like comma separated shipmentEntity entries and seems to want each entity encapsuled with " ". While doing so seems to enable the recognition of the individual shipmentEtities, the city, region, and postal code lines all have a warning that say "String literal is unused."
Is there a fix for this? I don't see anything in Stack Overflow...
thank you!