On Feb 13, 2012, at 7:30 AM, Jim McGowan <jim_mcgo...@mac.com> wrote:

> As the OP was creating a simple puzzle game I think NSSound is a reasonable 
> way to go for the sound effects.  Might even be reasonable for the music too, 
> if it is just a looping MP3.

AVAudioPlayer is simple enough that I would recommend not using NSSound at all 
in new code. AVFoundation exists on iOS, and is clearly the way of the future 
on both platforms.

https://developer.apple.com/library/mac/#documentation/AVFoundation/Reference/AVAudioPlayerClassReference/Reference/Reference.html#//apple_ref/doc/uid/TP40008067

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to