Page 1 of 1

Native Cocoa Look and Feel

Posted: Fri Aug 03, 2012 7:00 pm
by thinkitsimple
Hi,

i discovered LiveCode today and gave it a try on OS X 10.8. It looks like LiveCode is still using Carbon instead of Cocoa. Is this right?

Re: Native Cocoa Look and Feel

Posted: Sat Aug 04, 2012 1:55 am
by shaosean
The engine is mostly Carbon, as of 5.5 they converted a couple of dialogs to use the Cocoa APIs (probably to get around the sand boxing issues with Carbon).. The actual controls and interface that you see and use is actually emulated.. Not knowing the particulars of what they are doing, but they could either be drawing the controls from scratch, or they can be drawing the controls from off screen buffers of real controls (see the lookAndFeel property about changing the appearance on the fly)..
Release Notes 5.5 wrote:MacOS X Ask / Answer File Dialog
The MacOS X ask and answer file dialogs have been updated to use the Cocoa API.

Re: Native Cocoa Look and Feel

Posted: Thu Aug 30, 2012 5:12 pm
by Cookeroom
Interesting, I didn't know that. Thanx for the explanation.