|
|
|
|
|
by mikeash
3754 days ago
|
|
The mainQueue thing is because the catch-all exception handler is in the event loop, not the runloop. So if you throw during event handling (mouse down, key down) you'll hit it, but if it's something else (GCD, timers) you won't. It's extremely weird. Good call about reportException:. Although I personally prefer to just avoid NSAssert. The good old C assert() gets the job done well for me. |
|