I am now getting the «Return invalid outside of a func» error.
`if index <= devices.count {
print(devices[index])
} else {
return "the array is out of range"
}` @Claude31 @makabaka1880
I ended up creating a new project, ticked the "create a local repository option" when setting up and don't have any problem. I wasn't too far in the project anyway.
I am now getting the «Return invalid outside of a func» error.
`if index <= devices.count {
print(devices[index])
} else {
return "the array is out of range"
}` @Claude31 @makabaka1880
I ended up creating a new project, ticked the "create a local repository option" when setting up and don't have any problem. I wasn't too far in the project anyway.