[Mono-osx] [MonoMac] Adding WebKit DOM interfaces

Alexander Shulgin alexander.shulgin at yessoftware.com
Fri Nov 19 09:58:18 EST 2010


On 19.11.2010 0:44, Miguel de Icaza wrote:
>> I'd like to get some help about binding Private interfaces and protocols.
>
> I can certainly try to help you, but we wont be adding private bindings
> to MonoMac, since those are internal APIs that can change between OSX
> versions and we would not be doing our users any favors by binding
> those.
>
> In addition, Apple wont allow apps that use private APIs on the Mac
> AppStore.

Oh, that's not a problem for me--my app is not going to AppStore.  Also 
I didn't intend to sent the patches for private interfaces, as I 
understand they can't be accepted.  I need this for my app only.

>> What missing here is `WebView.MainFrame.FrameView.DocumentView' which
>> should be of type `WebDocumentView'.  Unfortunately, it throws an
>> InvalidCastException at me when I try to evaluate the last property
>> accessor: `FrameView.DocumentView'.  So I'm puzzled.
>
> For now I changed it so that we return an NSView, it is still up to the
> user to manually invoke any methods from WebDocumentView's methods.
> Not sure how we will do that.
>
> Geoff and myself will discuss this over the weekend.

Thanks for that, I'll try to see where can I get from it.

--
Alex


More information about the Mono-osx mailing list