• 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: questions on WebView for Mac apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: questions on WebView for Mac apps


  • Subject: Re: questions on WebView for Mac apps
  • From: Marek Hrušovský <email@hidden>
  • Date: Thu, 01 Oct 2015 12:49:00 +0200

The only thing you have to do is to call a method and add it as subview in
your code
- (instancetype)initWithFrame:(CGRect)frame
configuration:(WKWebViewConfiguration *)configuration
NS_DESIGNATED_INITIALIZER;

It's max 3 minutes of work.


On Thu, Oct 1, 2015 at 3:00 AM, Alex Hall <email@hidden> wrote:

>
> > On Sep 30, 2015, at 17:35, Charles Srstka <email@hidden>
> wrote:
> >
> >> On Sep 30, 2015, at 4:28 PM, Jens Alfke <email@hidden <mailto:
> email@hidden>> wrote:
> >>
> >>> On Sep 30, 2015, at 2:20 PM, Alex Hall <email@hidden <mailto:
> email@hidden>> wrote:
> >>>
> >>> Thanks everyone. I'm now using WKWebView, but it's… odd. I see only
> WebView in the object library in Xcode, no WKWebView at all. Just because,
> I changed the class of a WebView object to WKWebView, but am now seeing my
> app launch, become unresponsive, and never actually do anything.
> >>
> >> Don’t change an IB object’s class to anything but a subclass of the
> normal class!
> >> If you need a WKWebView in a nib, drag out an NSObject and change its
> class.
> >
> > Or, more correctly, an NSView (labeled as “Custom View” in IB).
> >
> So I can be sure I'm correct: Apple wants everyone to use the new
> WKWebView class instead of WebView, but to use it, I have to build it from
> scratch? I'll look into it, but that seems an odd decision. Even in 7.1, I
> don't see WKWebView available in the Object Library.
>
> --
> Have a great day,
> Alex Hall
> email@hidden
>
> _______________________________________________
>
> 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
>
_______________________________________________

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


  • Follow-Ups:
    • Re: questions on WebView for Mac apps
      • From: Alex Hall <email@hidden>
  • Prev by Date: Re: How to install 10.11 ?
  • Next by Date: Re: How to install 10.11 ?
  • Previous by thread: Re: NSColorPanel and close box
  • Next by thread: Re: questions on WebView for Mac apps
  • Index(es):
    • Date
    • Thread