• 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: NewBie: Trying to load a html file bundled with app...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NewBie: Trying to load a html file bundled with app...


  • Subject: Re: NewBie: Trying to load a html file bundled with app...
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 2 Jun 2008 16:32:58 -0400

> Is their a way I can modify this to load a htm file that is included in the
> app bundle:

  Yes. Get the main bundle for the application and ask it for the path
to the resource (given its name and type), then create a URL from
that. The rest you know ...See NSBundle for the details.

--
I.S.
_______________________________________________

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: 
 >NewBie: Trying to load a html file bundled with app... (From: Mark Bateman <email@hidden>)

  • Prev by Date: Re: Categories (was Re: Cocoa et al as HCI usability problem)
  • Next by Date: Re: Leopard (10.5+): Any Upper-Level (Cocoa) access to Mail?
  • Previous by thread: NewBie: Trying to load a html file bundled with app...
  • Next by thread: Re: Categories (was Re: Cocoa et al as HCI usability problem)
  • Index(es):
    • Date
    • Thread