• 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
Receiving actions from WebViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Receiving actions from WebViews


  • Subject: Receiving actions from WebViews
  • From: "Eric Czarny" <email@hidden>
  • Date: Fri, 18 Aug 2006 09:22:48 -0400

Hey All,

Okay, so in my never-ending quest to learn new UI coolness, I came across
the idea of using a WebView as an integral UI aspect of an application I
plan on working on. Basically, if you have used NewsFire you may know what I
am talking about. For those who haven't: Instead of using an NSTableView,
NewsFire uses a WebView+XHTML/CSS to present a table of data.

Displaying the information is easy: Basically I would generate XHTML for the
data I want to display, then pass it to the WebView to render. However, how
would I intercept actions from the WebView and redirect them to my
application? I was thinking registering an AppleEvent (Event ID: kAEGetURL)
for a given URL scheme, so that my application would then receive the URL,
passing it along to a method to parse the URL and garner an action from it.
Sound feasible? Anybody out there implement such a beast? Any information
would be extremely useful. Thanks!

Cheers,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Receiving actions from WebViews
      • From: George Orthwein <email@hidden>
  • Prev by Date: Re: NSPopupButtonCell bindings issues
  • Next by Date: Re: copy versus arrayWithArray:
  • Previous by thread: Re: Re: What's the fastest way to get icons for file/folders?
  • Next by thread: Re: Receiving actions from WebViews
  • Index(es):
    • Date
    • Thread