Fri 07 Jan 2005

Reloading frameworks in OpenMCL

Handy little trick… I'd assumed that because Cocoa frameworks couldn't be unloaded, I would have to restart my OpenMCL session each time I needed to reload my view framework (which is quite often, debugging views!).

Well, thankfully I was wrong — another call to open-shared-library reloads the library or framework:

(open-shared-library "RedwoodViews.framework/RedwoodViews")

Combine this with the awesome Cocoa listener (open openmcl and type (require "COCOA-APPLICATION"); this will spit out OpenMCL.app in the ccl directory), and I have a remarkably rapid development environment for Cocoa.

Now I just need more macros to wrap message sends and so forth… though actually, while in Objective-C it's easier to send messages, it's not so convenient to extend the syntax for common operations (e.g. getting the label for a node — I'd need to add a method to some class somewhere, or define a nasty little preprocessor macro), so I suppose it all balances out!

Posted at 2005-01-07 07:42:53 by RichardLink to Reloading framewor…
Comments, trackbacks.

Keeping Your Life in Subversion

This chap has been using CVS and Subversion to store his home directory — mail, docs, preferences, you name it — for 5 years. Some advantages, certainly, but I like the way he calmly talks about symlinking private dot files, occasionally running programs to keep it all in check, &c.

Crazy.

This Mind Hacks entry also hit my browser this morning: it seems we have a neural feature to priority-route the recognition of scared expressions, even unconsciously. The brain is truly remarkable, as Tim and I were discussing yesterday over coffee!

Posted at 2005-01-07 04:43:34 by RichardLink to Keeping Your Life …
Comments, trackbacks.

Google
Web holygoat.co.uk
  • richard is: