A tip for people getting mad


#1

Hey,
just wanted to give you a good advice for working with cached data. When you can’t find the problem in your code, delete the app on your simulator / device. I just spent about 3 hours to figure out why my app didn’t load the strings I’ve told it to - turned out it always used the cached data it downloaded (with nil-strings) before I implemented the code…
Don’t waste your time like I did.

Greetings
Joerg


#2

That and doing a clean build…


#3

I read this post, forgot about it, and then ran into exactly the problem you just described and spent 3 hours figuring it out. That will make you mad!


#4

Clean build folder:

Either:

  1. Click Product, Hold Option, Clean Build Folder.

  2. Command+Shift+Option+K

Cheers