Currently I have the following text inside a label located in a cell:
var textvalue: String? = nil
switch indexPath.row {
case 0:
textvalue = "Person: \(`pow`.name)"
break
case 2:
textvalue = "Place: \(`pow`.address)"
break
default:
fatalError("Error")
}
cell.textLabel?.text = textvalue
return cell
}
How can only the text Person:
and Place:
be bolded? Instead of the entire text string?