Re: copy in WebView
Re: copy in WebView
- Subject: Re: copy in WebView
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 14 Oct 2012 02:22:14 +0700
On 14 Oct 2012, at 01:46, Kyle Sluder <email@hidden> wrote:
> On Sat, Oct 13, 2012, at 09:47 AM, Gerriet M. Denkmann wrote:
>> Well, there is one small problem:
>> This line:
>> if ( [ targetForCopy isKindOfClass: NSClassFromString (@"WebHTMLView") ] ) then do my own stuff...
>> has this undocumented WebHTMLView.
>> So if Apple changes WebKit to use WebNewAndBetterHTMLView then my code
>> will break.
>> But I guess (and hope) that this is not too likely.
>
> Could you instead broaden your test to "my WebView or any of its
> descendants is first responder?"
The superclass of the undocumented WebHTMLView is NSResponder.
Don't know how it relates to WebView.
Gerriet.
_______________________________________________
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