[Mono-osx] Working with delegates

flohei flo at rootof.net
Thu Dec 2 11:36:40 EST 2010


I'm not exactly sure if I know what you mean by that. I just re-installed (and updated) my MonoDevelop to the trunk build released on Nov. 24th but that didn't fix that issue for me. Can you point me in the right direction?

Thanks
–f

On 02.12.2010, at 16:20, Miguel de Icaza [via Mono] wrote:

> 
> But after that the compiler tells me, that it cannot implicitly convert
> MyWindowController to NSWindowDelegate. Yeah, sure. So why not just use
> 
>        Window.WeakDelegate = this;?
> 
> This is what you need.
>  
> This one throws no error at compile time but when I try to open the Window I
> want to use this in my program crashes telling me "Method not found:
> 'MonoMac.AppKit.NSWindow.set_WeakDelegate'". So is there something I'm still
> missing?
> 
> You have mixed old and new assemblies, the compiler would not have let you generate the assembly at that point.
> 
> Miguel
> 
> _______________________________________________ 
> Mono-osx mailing list 
> [hidden email] 
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 
> View message @ http://mono.1490590.n4.nabble.com/Working-with-delegates-tp3065391p3069476.html
> To unsubscribe from Working with delegates, click here.


-- 
View this message in context: http://mono.1490590.n4.nabble.com/Working-with-delegates-tp3065391p3069650.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101202/011a8b11/attachment.html 


More information about the Mono-osx mailing list