IPhone : How to debug 'fatal error: unexpectedly found nil while unwrapping an Optional value'

on Wednesday, March 25, 2015

There are a lot of questions on Stack Overflow related to this error. I’ve read some excellent posts on how Optionals work and this error in particular. However, I haven’t found any information about the best way to figure out which value is being set to nil and causing the error in the first place.


Are there any good debugging techniques to find out which Optional is causing this error?


0 comments:

Post a Comment