Just had a weird crash in development in Simulator - first of a kind. The crash was on this line:
private lazy var regExTrimSet = NSCharacterSet(charactersInString: " \t\r\n_")
and the error was some malloc() already released (grrr, should have copied it). Should that be thread safe? [Its being referenced by a bunch of concurrent blocks at one point]
Also, I tried to find out where the Xcode console log might get written, but had no luck finding a link. Is there one that this error should be logged to?