• 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
Finding in a WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding in a WebView


  • Subject: Finding in a WebView
  • From: Daryle Walker <email@hidden>
  • Date: Tue, 07 Oct 2014 18:38:11 -0400

When I implemented source-viewing for my web-browser (as independent windows), I added the “for free” find capability, using the “inside the top of the scroll-view” mode. How can I implement something similar for WebView-s? When I looked over find-panels, I read mentions of the new API being able to attach to a scroll-view. But WebView instances use a built-in scroll-view, instead of the separate scroll-view object you get with a text-view in Interface Builder. Is there a way get a WebView’s internal NSScrollView? (Doing this would also let me implement optimized green-button zooming.) This would also need the WebView to always generate a scroll-view, even when the main content completely fits in the window.

—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

_______________________________________________

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


  • Prev by Date: Re: Questions on using a NSTextView as a source viewer.
  • Next by Date: Efficient CVPixelBuffer display in a CALayer
  • Previous by thread: Re: Questions on using a NSTextView as a source viewer.
  • Next by thread: Efficient CVPixelBuffer display in a CALayer
  • Index(es):
    • Date
    • Thread