[Openmcl-devel] Interactive cocoa programming
Paul Krueger
plkrueger at comcast.net
Sat Dec 4 07:32:01 PST 2010
Christian,
Have a look at my contrib directory:
...ccl/contrib/krueger/InterfaceProjects (in older releases) or
...ccl/contrib/cocoa-ide/krueger/InterfaceProjects (in newer releases)
I'm a few weeks from checking in a major revision to this stuff, but what is there now should get you started on how to create and load nibs, open up your own windows etc. while still in the IDE where you have a listener window. Look at InterfaceBuilderWithCCLTutorial2.1.pdf in ...InterfaceProjects/Documentation. My new stuff will let you easily create a stand-alone app that optionally includes IDE resources like listener windows.
If you have specific questions after that, let me know; hopefully I can save you from going down all the rat-holes that I did.
Paul
On Dec 2, 2010, at 2:30 PM, Christian Lynbech wrote:
> I am trying to get started with cocoa programming in ccl and I think I
> have understood the currency converter demo but I am unsure how to get
> back some sort of REPL access such that I my interact with the
> application.
>
> Taking the currency converter demo, one approach would be to make it open a
> listener window as well as the main application window; that would allow
> me to poke around in the running application.
>
> Alternatively, I could perhaps start out from an interactive session,
> for instance via slime. If I (require "COCOA"), I get a new listener
> window but how can I then load my NIB and initialize the cocoa part?
>
> I guess I could even preload swank, start a swank listener as part of
> application initialization and then subsequently connect from
> emacs/slime to the running application.
>
> What's a good approach?
>
>
> ------------------------+-----------------------------------------------------
> Christian Lynbech | christian #\@ defun #\. dk
> ------------------------+-----------------------------------------------------
> Hit the philistines three times over the head with the Elisp reference manual.
> - petonic at hal.com (Michael A. Petonic)
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
More information about the Openmcl-devel
mailing list