Re: NSBundle from an URL.
Re: NSBundle from an URL.
- Subject: Re: NSBundle from an URL.
- From: Jens Alfke <email@hidden>
- Date: Thu, 3 Sep 2009 15:41:33 -0700
On Sep 3, 2009, at 3:36 PM, Erik Österlund wrote:
I just wanted to check out NSBundle's + bundleFromURL. I looked in
the documentation and said nothing about only some protocols
working, so I thought I could load a bundle via HTTP which would be
awesome, but that seemed to fail. Is this a bug, or am I being stupid?
A lot of system APIs use file: URLs as a standard way of specifying a
filesystem path. (Even more have been added in 10.6.) That doesn't
mean these operate on other URL schemes like http: or ftp:! In
general, unless the documentation for a function/method says it
operates on any URL scheme, it only takes files.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden