[Openmcl-devel] Setting a toplevel function for build-application

Gary Byers gb at clozure.com
Tue Sep 17 12:06:53 PDT 2013


The default startup code tries to set an instance of the (Cocoa) class named
by gui::*default-ns-application-proxy-class-name* as the application's
delegate, so:

;;; some-source-file.lisp

(defclass beeping-app-delegate (...)
   (...)
   :metaclass ns:+ns-object)

(objc:defmethod ...)

(setq gui::*default-ns-application-class-name* "BeepingAppDelegate") ; IIRC


On Tue, 17 Sep 2013, Ron Garret wrote:

> I'm still running 10.6.  And AgentSheets existed before 10.7 was released, so it must be possible to do it in 10.6.
>
> On Sep 17, 2013, at 11:44 AM, Paul Krueger wrote:
>
>> On Sep 17, 2013, at 1:25 PM, Ron Garret <ron at flownet.com> wrote:
>>
>>> Surely Alex is not the only person on the planet -- or even on this list -- who has figured out how to build a standalone Mac application on CCL?
>>
>> I spent several months creating a whole suite of software tools and an interface to make it easy for people to build standalone CCL/Cocoa apps. It does depend on having OSX 10.7 or higher and CCL 1.9 or higher, but if you can live with that I'd suggest you work through my developer tools tutorial and you should be able to do what you want to do.
>>
>> Good luck!
>>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list