I'm designing a tableview with 3 custom cells. I want to customize them by adding unique accessory Type. I've crated a tableViewController with static cells. Each cell I wrote a special Identifier and special class.
How should my tableView fund looks like for 3 custom cells?
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let CityCellIdentifier = "CityTableViewCell"
let cell = tableView.dequeueReusableCellWithIdentifier(CityCellIdentifier, forIndexPath: indexPath) as! CityTableViewCell
// Configure the cell...
return cell
}
should I create three cell variables for that?