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

Re: WebDocumentText


  • Subject: Re: WebDocumentText
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 15 Jul 2004 09:36:06 -0400

On Jul 14, 2004, at 5:43 PM, Tom Harrington wrote:

Since the WebDocumentText docs indicate that "Classes that adopt this protocol should also adopt WebDocumentView and inherit from NSView," I'm tempted to think that -[WebFrameView documentView] is the one I want. But it's not documented to return anything but a plain NSView (no promises about protocol conformance).

It's my understanding that -documentView is the method you want. It makes no promises about protocol conformance because it can't - the document in the WebFrame might be an image, a flash movie, QuickTime, etc., and in those cases it won't conform to WebDocumentText.

You need to use -conformsToProtocol: to check it yourself.

sherm--
_______________________________________________
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: 
 >WebDocumentText (From: Tom Harrington <email@hidden>)

  • Prev by Date: Re: [options] Cocoa GUI Client to web based SQL database
  • Next by Date: NSDrawer Newbie
  • Previous by thread: WebDocumentText
  • Next by thread: floats and number formatters
  • Index(es):
    • Date
    • Thread