• 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: Web Kit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web Kit


  • Subject: Re: Web Kit
  • From: "Mark A. Stratman" <email@hidden>
  • Date: Fri, 25 Jun 2004 10:21:31 -0500

On Jun 25, 2004, at 8:49 AM, redmarblegames wrote:

Hi all -- I think I know the answer to this, but am new to Cocoa and the Web
Kit so thought I would ask before giving up: is there a way to determine the
locations of individual items on an HTML page that is being rendered by the
Web Kit? My app needs to annotate a displayed Web page with some additional
content, which I'd like to draw relative to the positions of individual
items. The WebKit looks like a great way to display web pages if you don't
care about the internals, but I gather you have to treat it essentially as a
black box and can't get much info about the details. If I'm wrong about
that, pls let me know.

Actually, you can get almost every bit of information you could ever need:
http://developer.apple.com/documentation/Cocoa/Reference/WebKit/ ObjC_classic/index.html
Especially have a look at the protocols.

I say "almost", because I think you've stumbled on a need that it can't fill (at least not that I could find in any of the protocols or classes).

If you still can't find a way to do it with Web Kit, take a look at WebCore (essentially khtml, as the bulk of it).
http://developer.apple.com/darwin/projects/webcore/index.html

hth
- mark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Web Kit (From: "redmarblegames" <email@hidden>)

  • Prev by Date: Is anyone using an object database?
  • Next by Date: Re: Is anyone using an object database?
  • Previous by thread: Web Kit
  • Next by thread: Re: Web Kit
  • Index(es):
    • Date
    • Thread