Re: Playing SMF midi files - another approach?
Re: Playing SMF midi files - another approach?
- Subject: Re: Playing SMF midi files - another approach?
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 1 Dec 2005 09:29:34 -0700
On Dec 1, 2005, at 9:12 AM, Ian OKeeffe wrote:
Is it possible to play a local file (i.e. In the same
directory/folder as the app.), or one on the same machine?
It's possible.
If I need to submit an URL for a file, how do I find out what it is
on a
Mac?
Use NSBundle to figure out the path to the local file (assuming it's
inside the bundle) and then use +[NSURL fileURLWithPath:] to turn the
file path into a URL.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden