added a cocoa view example project and support for AppFrameworkCocoaView