The Cocotron is an open source project which aims to implement a cross-platform Objective-C API similar to that described by Apple Inc.'s Cocoa documentation. This includes the AppKit, Foundation, Objective-C runtime and support APIs such as CoreGraphics and CoreFoundation.

Cocotron Examples

Now Available! Experienced iPhone, Cocoa, Objective-C developer.

CGShadingCreate (Mac/Windows)

A simple axial and radial gradient example. Source. Binary.

CGShadingCreate running on Windows XP with themed controls. (image may distort due to scaling)

CGShadingCreate/CGShadingCreateRadialXP CGShadingCreateAxialXP