Here's a skeleton Xcode project for making a composition fullscreen, with all mouse and keyboard events automatically forwarded.
This code is licensed under the MIT License.