I really can't figure out what I've done wrong with this project. It was working fine before I tried to do the challenge suggesting that we move the code that was inside the if
condition in content view into it's own separate view.
Now, every time I run my code it asks for biometric authentication as it should, but when the biometric authentication is completed the app just freezes up on the screen with the unlock button, and ends up crashing with this error showing in XCode
"Thread 1: EXC_BAD_ACCESS (code=2, address=0x16b8fbf50)"
There isn't a problem with the biometric authentication, because when I change the code to switch to a normal Text
view after the authentication is completed, it works just fine. So it must be some problem with the new separated view that I have created for the map with the blue circle in the middle and the add button at the bottom, which I have named "BucketListView"
If anybode can help me figure out what I have done wrong it would be much appreciated.
My code for this project can be found on My GitHub Account