[Webkit-unassigned] [Bug 8389] New: support for Cocoa bindings - binding an NSTreeController to the WebView's DOM

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Apr 14 12:41:28 PDT 2006


           Summary: support for Cocoa bindings - binding an NSTreeController
                    to the WebView's DOM
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: speth at end.com

I have some small changes that make it possible to bind an NSTreeController to
the DOM of a WebView, adding some additional support for Cocoa bindings to
WebKit.  Basically, there are a couple of places in WebKit that needed to send
out KVO messages, and in JavaScriptCore I made a category that adds the array
accessors (count/objectAtIndex:) to WebScriptObject.

I also added a controller class, WebController, that is a subclass of
NSTreeController that has a new outlet/binding for the WebView.  It is a very
minimal controller that could use some more work, but it does enough to make it
possible to connect things up in Interface Builder.

I'll also attach the Interface Builder palette and a sample NIB file for using
the bindings.

I'd be happy to make changes to this, as there are several areas I can see that
might need to be modified.  I wanted to put this here for review, instead of
going too far on my own.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list