MecoKing/Space — pull request #23 by robrix (2014-12-30 18:05:19+00:00)
Title: Hold strong references to paths

The other wrinkle to do with faux-object types like CGPathRef is that you have to tell the compiler to retain them correctly. Since we weren’t doing that, it was getting deallocated, and then when we assigned it to a shape node, it was attempting to access what was now out of bounds memory—hence EXC_BAD_ACCESS.