Cocoa to Cappuccino tutorial

Posted: October 28, 2012 in IT/Dev
Tags: , ,

At slevenbits blog we can find an article about porting a Cocoa component (here a custom NSBox – with editable title) into a Cappuccino one. As expected, it only consists in replacing NS suffix with CP, pointer * sign, and modifying imports. Also in the example the event management (box title editing) is easier, as Cappuccino benefits from the textField html element provided by the browser (with Cocoa we have to determine the editing area and use a fieldEditor).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s