• 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: WebKit concepts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebKit concepts


  • Subject: Re: WebKit concepts
  • From: Marcus Karlsson <email@hidden>
  • Date: Thu, 22 Jul 2010 20:06:24 +0200



--On 22 juli 2010 08.41.01 -0700 Jason Slack-Moehrle <email@hidden> wrote:

1. As far a an Xcode project is concerned, does one just use a standard
template (like View based App) and create a webView that takes up the
entire screen? I dont see a WebKit Project type.

That's pretty much what you do.

2. All the examples I find are just opening an existing URL like
Google.com. I assume that one can use custom HTML/JS/CSS pages and
display these from the resource bundle?

Sure. Look at the various load methods on UIWebView or give it a URL request using something like [NSURL fileURLWithPath:[[NSBundle mainBundle] resourcePath]].


3. Is the concept really to have a server someplace that the user
connects to versus loading pages locally from the app?

While that might technically work I wouldn't recommend doing that. I guess that it might be suitable in case you for some reason need to use dynamicly created pages, just make sure that you connect to the server over loopback in case you do that. But that should really be a last resort when nothing else works.


By the way, you would probably post this in cocoa-dev instead since the questions is more centric to Cocoa Touch and not Xcode.

Marcus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >WebKit concepts (From: Jason Slack-Moehrle <email@hidden>)

  • Prev by Date: Re: Different build locations for different architectures?
  • Next by Date: Undefined Symbols <but they exist!>
  • Previous by thread: WebKit concepts
  • Next by thread: Undefined Symbols <but they exist!>
  • Index(es):
    • Date
    • Thread