Re: Binding problem : getter not called when property change

2009-11-02 Thread Eric Morand
Thanks a lot for the clarification, you made my day. I'll try to subclass NSImageView to achieve what I need. Kind regards, Eric. Le 2 nov. 2009 à 14:42, Uli Kusterer a écrit : On 02.11.2009, at 13:49, Eric Morand wrote: The setIcon: method is successfully called when I delete the conte

Re: Binding problem : getter not called when property change

2009-11-02 Thread Uli Kusterer
On 02.11.2009, at 13:49, Eric Morand wrote: The setIcon: method is successfully called when I delete the content of the image view, sending nil as the newImage parameter. Great. But the image view doesn't update its content. In other words, the icon getter method is not called event though

Binding problem : getter not called when property change

2009-11-02 Thread Eric Morand
Hi guys, I have a NSImageView instance that I want to display a default image when the user delete its content - namely, I want it to display a question mark instead of displaying an empty space. The image view "Value" property is bound to the "icon" property of my controller, which is of c