[Mono-osx] NSKeyValueObserving with NSCollectionView

Miguel de Icaza miguel at novell.com
Tue Feb 8 09:48:30 EST 2011


> I have a case where I create my own data source for a NSCollectionView. In
> plain Obj-C/Cocoa I would create a class adopting the NSKeyValueObserving
> Protocol to realize this. Unfortunately this class seems to be not
> implemented yet. How do you guys do this?

All you need is to flag the various methods you want with the proper
[Export] value.

See the MonoMac page for a couple of links to tutorials on doing this.

Miguel


More information about the Mono-osx mailing list