sorry for the late reply. i can try replacing lines 38 with this but it won't even get to this point. I really think i have a misunderstanding of how UserDefaults works though and i'm finding out i cant look at the production version of my app's plist to see what's stored. I was thinking like on line 14 where i check to see if a UserDefault value is "True" I should check for nil first but this doesn't break when run as a fresh install and all of them are nil. The piece that makes this so difficult is I can't debug my app store version that is crashed and can't reproduce the error in development. Is there a difference in the way UserDefaults are stored in release vs. development?
Topic:
Programming Languages
SubTopic:
Swift
Tags: