Closed darer closed 9 years ago
After I got this error a few times I checked the other issues and I found this updated hash function (above). I tested with it, and it's still the same. So I guess it doesn't matter if I use the old function or this one.
Never mind, the problem was in my code. It gives that error only when it tries to fetch an image before my db sync is complete. I reinstalled the app like 20 times now and it works fine. Closing the issue.
Now I get an error on first launch of the app (after install). It's in the ImageManager.swift file in:
I get "fatal error: can not decrement startIndex" on the forth line. This doesn't happen every time. I need to reset the simulator and install again a few times until I can reproduce this. But once I get this error, I can't launch the app at all and I need to reinstall again. Any ideas what could cause this?