Pierre Bernard

My little hideout on the net

Mac OS X. Cocoa

Code snippets written during the development of Houdah Software's Mac OS X software offerings: HoudahSpot 2, HoudahGeo, HoudahGPS, ...

All code published on this page is available under the MIT license.

HHDualShortcutButton

A NSButton subclass which may respond to 2 keyboard shortcuts. It also displays one of those shortcuts when the command key is held down.

This code will be used in the upcoming HoudahStudy falsh card software.

Download HH Device Observers.

HHusbObserver & HHserialObserver

List USB and serial devices. Get notifications a devices are connected or disconnected.

This code is used by the freeware GPSBabel frontend HoudahGPS.

Download HH Device Observers.

WebObjects

Most of my public WebObjects code has been folded into the Houdah WebObjects Frameworks project.
This open source project is focussed on providing an architecture for building powerful rule based CRUD applications. Beyond what has been published here, it includes many useful additions to the WebObjects and Enterprise Objects Frameworks.

You may elect to use Houdah WebObjects Frameworks as a whole. This gives you a modern and extensible alternative to Apple's DirectToWeb (D2W) architecture with much power to spare under the hood. Alternatively you may dive in and pick out the juicy bits: