Need to prefix NSNotFound with Foundation, otherwise it will not compile on Xcode 6 Beta 2.