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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to