Cocoa equivalent of diskEvt/kEventClassVolume?

Posted by tewha on Stack Overflow See other posts from Stack Overflow or by tewha
Published on 2010-04-11T18:00:51Z Indexed on 2010/04/11 18:03 UTC
Read the original article Hit count: 274

We have a drop-down menu of volumes in our UI, and I'd like to update it when a new disk is mounted. In the Classic days, this would involve watching for a diskEvt event. In Carbon, I think this was kEventClassVolume. What's the Cocoa equivalent?

(A pointer into Apple's documentation on this would satisfy the question. I've been unable to find anything!)

© Stack Overflow or respective owner

Related posts about macosx

Related posts about diskevt