override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if segue.identifier == \"toDetails\" {
if let indexPath = sender as? IndexPath {
Expression resolves to an unused property
This error means, that you wrote code with reference for some property of some item in jobs
array, but you haven't done anything with it (declare some constant, change some variable, etc.)
You probably just wanted to declare Job
item for specific row, so you can do it like this
let job = jobs[indexPath.row]