« Weekend news | Home | IP in menubar version… »

Tip of the day: Carbon events for Cocoa app

Apple deprecated part of Carbon. But not all. While the GUI functions are going away, some functions like the event handling are still working. Even for 64 bit, most of the Carbon Events function still work.

So how do you get an event for a volume being mounted or unmounted in a Cocoa app?
Simply use the VolumeMounted and VolumeUnmounted events in CarbonApplicationEventsMBS. The biggest plugin in space...
01 08 11 - 13:41