Where can I find the official OS X 10.10 documentation?
Here is the OS X Yosemite v10.10 Documentation.

You can always find developer resources on the Apple Developer sites. You can find other OS X documentations there, as well as iOS documentations. Other resources, such as feature descriptions, revision histories, upcoming changes, and user agreements can be found there, also.

The best of luck in your programming endeavours!