Different icons for release vs debug builds

Ben_hawk asked how to do this on Stackoverflow, and I was both curious how to do it myself.  Turns out it’s not too tricky – see my answer in the same post. A big reason for doing this even early in development, prior to distributing builds to anyone else, is that it makes it much… Read more

keyDown: fires even when your app is in the background

It appears that the standard behaviour for an NSView (NSResponder in general?) is for it to “hold onto” pressed keys.  That is, if a key is held down the view will keep getting keyDown: events until the key is lifted, no matter what else happens.  So it can lose focus or the app loses frontmost… Read more

SCNView may change your point of view

Ugh… SceneKit is both promising and frustrating.  It appears to be a very stereotypical case of “version 1” syndrome – nice idea, flaky implementation and very skimpy documentation. So amongst the many strange, undocumented foibles it has, one in particular is quite egregious.  When you add an SCNNode to your SCNView-rendered scene, containing an SCNCamera, the… Read more

iOS Security outline

Only a few pages into the iOS Security document released by Apple today, and already there’s a notable error.  It states: Apps can’t share data directly with each other; sharing can be implemented only by both the receiving and sending apps using custom URL schemes, or through shared keychain access groups. False, at least partially.… Read more

CMake & Xcode 4

I’ve wanted to try out a few little projects based around llvm/clang for a while now.  I grabbed the sources from svn last week, and have been perusing them, and their documentation, randomly.  Today I caught wind of the supposed support for Xcode (in the form of Xcode project files) via CMake.  “Awesome!”, I thought,… Read more

ToT Clang / LLVM in Xcode

It should be a trivial task.  It’s certainly an obvious goal, and I was quite perturbed to find no clear instructions, very little discussion of it at all, and a few awkward speed-bumps on the way.  But I did figure it out.  So here it is, for those lucky enough to find this before they… Read more