[Openmcl-devel] Using the COCOA BRIDGE

R. Matthew Emerson rme at acm.org
Sun Jul 9 20:46:41 PDT 2017


> On Jul 9, 2017, at 9:58 AM, Denis Lorrain <dlo_lorrain at yahoo.fr> wrote:
> 
> Hello all,
> 
> 
> I'm still looking for help with the CCL - Cocoa Bridge. I've posted a message to the same purpose last 07/02, following a similar query by Oscar Chappel the day before.

I just responded to Oscar Chappel's message.  The essence of that response is that UI operations must take place on the main/initial thread.  Use gui:execute-in-gui to do that.

The macOS has changed quite a bit since those examples were written.  Most regrettably, from the CCL point of view, Interface Builder has been made part of Xcode, and it's now not really feasible to create nib files without also writing corresponding Objective-C or Swift code.





> 
> To put things simply: the Cocoa Bridge doesn't work fully in recent macOS environments when one tries out the examples delivered with CCL. I'm running with
> 
> - macOS 10.12.5
> 
> - CCL 1.11.1
> 
> - Xcode 8.3.3.
> 
> 
> For instance the example CCL code delivered in
> 
> - Applications/Clozure\ CL.app/Contents/Resources/ccl/examples/cocoa/ui-elements/HOWTO.html
> 
> CCL evaluations are all right, objects are instantiated, etc., but NO UI WINDOW shows up.
> 
> 
> The same with loading Nibfiles and interacting with Xcode's InterfaceBuilder, for instance as described in
> 
> - Applications/Clozure\ CL.app/Contents/Resources/ccl/examples/cocoa/currency-converter/HOWTO.html
> 
> - Applications/Clozure\ CL.app/Contents/Resources/ccl/examples/cocoa/nib-loading/HOWTO.html
> 
> CCL evaluations are all right, objects are instantiated, etc., but NO UI WINDOW shows up.
> 
> 
> Is there some available update fixing this???
> 



More information about the Openmcl-devel mailing list