Using WebViews - is it the same as on iOS?

Discussion in 'Mac Programming' started by Noisemaker, Oct 25, 2010.

  1. Guest

    Joined:
    Mar 13, 2009
    #1
    IE, using UIWebView, and similar code? Or is it different?

    If it's different, does anyone have a link to a tutorial to show the basics?
     
  2. macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    Much much more powerful (you have access to the full DOM via Objective-C, for example). Basic usage is probably similar.
     
  3. macrumors 603

    Joined:
    Aug 9, 2009
    #3
    Start with the class reference doc.
    http://developer.apple.com/library/...lasses/WebView_Class/Reference/Reference.html

    There are 5 sample projects listed in Related sample code.

    Also be sure to scroll to the bottom of the left-side Table of Contents column, and read the Webkit Programming Guide.

    If you're looking for something that does a compare-and-contrast between WebView and UIWebView, or a "Mac WebView for iPhone UIWebView programmers", I don't think you'll find anything like that.
     
  4. thread starter Guest

    Joined:
    Mar 13, 2009
    #4
    Thanks.

    I'm not so much dead-set on a compare/contrast, but just knowing where to start with it in OSX would be good. I have a good amount of experience with webviews in iOS, and hoped that it would translate directly into OS X coding.

    I'll check out the dev docs and go from there. Any other suggestions would be a big help as well. :)
     

Share This Page