I made an app to help avoid situations like this: douglashill.co/magicspell/

twitter.com/toddthomas/status/731234250943401984

You know you can check spelling in Xcode with cmd-;

And the OS X spell checker copes with camel case fine.