Hi,
I try to catch a window close event in my controller class, but the
eventhandler never gets executed. This is my code :
using System;
using System.Collections.Generic;
using System.Text;
using Monobjc;
using Monobjc.Cocoa;
namespace windows_events
{
[ObjectiveCClass]
public class
It works if I set the delegate in interface builder for the window to
MyWindow, and if I modify my code to :
using System;
using System.Collections.Generic;
using System.Text;
using Monobjc;
using Monobjc.Cocoa;
namespace windows_events
{
[ObjectiveCClass]
public class MyWindow :
Hello,
As stated here (http://www.monobjc.net/index.php?page=events-and-delegates),
there may be some problems with some classes as the Objective-C
runtime may perform aggressive caching on delegate methods.
I am still searching a way to accommodate with this caching while
preserving the
3 matches
Mail list logo