iOS Team Technical Fanboy

Useful tips in iOS development, offloading your designers, managing an app farm and iOS build process automation.

11 Nov 2014 on enumerateObjectsUsingBlock:, blocks, multithreading, NSOperation, NSOperationQueue, bug, iOS

Hard to notice multithreading bug

During working on my UIBezierPath reimplementation to enable checking for crossing paths I encountered a bug. The bug was really hard to debug. It happened randomly. App was generally unstable, it was crashing randomly and in random functions, both mine and Apple's dealloc, retain, etc. I was quite happy that…

Page 1 of 1