Click here to see the screenshot of the code.
I'm making a list application and I'm saving the array for the "list" that i wanna load when i open the app again. the weird thing is that i works on a simulator but not on a device. (See the screenshot to understand)
feedCells = (NSUserDefaults.standardUserDefaults().objectForKey("feedCellsData") as? [String])!
thats the line that it keeps crashing on.
I've tried to change it so it's an optional value. But i can't find anything that seems to help..