[Mono-osx] NSKeyValueObserving with NSCollectionView

flohei flo at rootof.net
Thu Feb 10 08:18:44 EST 2011


Ok, forget about my last post. Stupid me did not change the value using SetValueForKey(). Now it's working.

Thanks again,
–f

PS: The tutorials are absolutely great.

http://cocoa-mono.org/archives/153/kvc-kvo-and-cocoa-bindings-oh-my-part-1/
http://tirania.org/monomac/archive/2010/Dec-07.html

On 08.02.2011, at 15:48, Miguel de Icaza [via Mono] wrote:

> > 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 
> _______________________________________________ 
> Mono-osx mailing list 
> [hidden email] 
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://mono.1490590.n4.nabble.com/NSKeyValueObserving-with-NSCollectionView-tp3275746p3276062.html
> To unsubscribe from NSKeyValueObserving with NSCollectionView, click here.


-- 
View this message in context: http://mono.1490590.n4.nabble.com/NSKeyValueObserving-with-NSCollectionView-tp3275746p3299086.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/20110210/2796014b/attachment.html 


More information about the Mono-osx mailing list