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 <mehg...@icloud.com> wrote:

>
> > On Sep 30, 2015, at 17:35, Charles Srstka <cocoa...@charlessoft.com>
> wrote:
> >
> >> On Sep 30, 2015, at 4:28 PM, Jens Alfke <j...@mooseyard.com <mailto:
> j...@mooseyard.com>> wrote:
> >>
> >>> On Sep 30, 2015, at 2:20 PM, Alex Hall <mehg...@icloud.com <mailto:
> mehg...@icloud.com>> 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
> mehg...@icloud.com
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/xhruso00%40gmail.com
>
> This email sent to xhrus...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to