[Mono-osx] NSImage imageNamed implemenation

Pavel Sich pavel.sich at me.com
Sun Oct 24 17:17:14 EDT 2010


In the current AppKit implementation, there is an error in NSImage, 
method imageNamed is not marked in the interface (interface API - 
appkit.cs) as [Static], therefore it does not work as expected then.

Fix is very simple:
         [Static]
         [Export ("imageNamed:")]
         NSImage ImageNamed (string name);

Cheers,
Pavel Sich
twitter: @sichy


More information about the Mono-osx mailing list