Maybe I'm missing something. Is there a simple way to create a beep
without
creating a new class?
Read Cocoa's docs on the "Model-View-Controller" pattern. The most
basic design idea behind Cocoa is this pattern, and as the name says
it encourages strict separation of the model (i.e. actual data
storage) the view (i.e. button's, windows, menus) and the controller
(the actual code that does the work).