Re: NSSound--description forthcoming
Re: NSSound--description forthcoming
- Subject: Re: NSSound--description forthcoming
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 21 Sep 2001 19:46:33 +0200
On vendredi, septembre 21, 2001, at 06:51 PM, Mark Wridt wrote:
Does anyone know if some of these descriptions in
foundation and appkit will get cleared up anytime
soon, maybe coinciding with the official OS 10.1
release?
I have been trying to implement a very simple if
statement that will play a sysbeep, or any NSSound,
like "Ping" of "Bonk"...
Can anyone help with that implementation?
NSSound * tSound;
tSound=[NSSound soundNamed:@"Ping"];
[tSound play];
or for a sysbeep
NSBeep();