• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBundle from an URL.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSBundle from an URL. (From: Erik Österlund <email@hidden>)

  • Prev by Date: NSBundle from an URL.
  • Next by Date: Re: NSBundle from an URL.
  • Previous by thread: NSBundle from an URL.
  • Next by thread: Re: NSBundle from an URL.
  • Index(es):
    • Date
    • Thread