Re: main window sound
Re: main window sound
- Subject: Re: main window sound
- From: David Cairns <email@hidden>
- Date: Sat, 25 Jan 2003 17:24:42 -0500
You can use an NSSound to play a .snd or AIFF or mp3 or whatever you
want. try this:
- (void)awakeFromNib {
NSSound *mySound = [[NSSound alloc] initWithContentsOfFile: myFile
byReference: NO];
[mySound play];
}
-- dave
--------------------------------------------
"see you later, space cowboy..."
--------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.