Skip to content

Instantly share code, notes, and snippets.

@mrichman
Created April 7, 2009 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrichman/91352 to your computer and use it in GitHub Desktop.
Save mrichman/91352 to your computer and use it in GitHub Desktop.
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface Controller : NSObject /* Specify a superclass (eg: NSObject or NSView) */ {
IBOutlet UILabel *subtitle;
SystemSoundID soundID1;
SystemSoundID soundID2;
SystemSoundID soundID3;
SystemSoundID soundID4;
SystemSoundID soundID5;
}
- (IBAction)playSound1:(id)sender;
- (IBAction)playSound2:(id)sender;
- (IBAction)playSound3:(id)sender;
- (IBAction)playSound4:(id)sender;
- (IBAction)playSound5:(id)sender;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment