Interesting.. The source of this path is from Final Cut Pro. I can't say how they come up with the path. I will ping some people and find out.
bob. On May 18, 2010, at 8:01 PM, John Joyce wrote: > > On May 18, 2010, at 12:39 PM, [email protected] wrote: > >> Content-Type: text/plain; charset=us-ascii >> >> First, the first 2 characters need to be // and not / for it to be a valid >> resource specifier. The 10.6 Overview states it will fail to create a >> NSURL. Look at the class reference. Why the base is set to your binary >> maybe just a bug in 10.5. So you don't go nuts, just temp fix the string >> and then execute your code to see if the originating pseudo URL is your prob. >> >> -Tony > > Yes, the resource specifier should be protocol://pathtoresource > a file URL uses file://path > a path to a file always becomes absolute here. > / is root directory of the volume in a file path in unix > thus, it should have the following appearance: (3 slashes after the colon) > file:///absolute/path/to/file > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
