[Mono-osx] NSKeyValueObserving with NSCollectionView
flo at rootof.net
Thu Feb 10 07:59:42 EST 2011
In a simple example where I'm binding a NSString to an NSTextField the binding does work in the first place (when the window loads). But when I update the string in code, say on a button click, it does not change the interface. Any ideas on this?
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.
> Mono-osx mailing list
> [hidden email]
> If you reply to this email, your message will be added to the discussion below:
> To unsubscribe from NSKeyValueObserving with NSCollectionView, click here.
View this message in context: http://mono.1490590.n4.nabble.com/NSKeyValueObserving-with-NSCollectionView-tp3275746p3299053.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx