This is SoundInspector.m in view mode; [Download] [Up]
#import "SoundInspector.h" @implementation SoundInspector - (void)setActive:(BOOL)yn; { isActive = yn; } - (void)displayNote:(Note *)note; { if(note && isActive){ [currentS stop]; currentS = [note sound]; [currentS play]; } } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.