Im using an API and displaying my data in a detailed tableview. My error is Fatal error: Unexpectedly found nil while unwrapping an Optional value. This is what I have, what should I do?
theSalary.text = "(item!.salary!)"
if (item!.salary!) == nil {
let message = "no salary listed"
theSalary.text = message
}