Re: bindings and sub array modification notification.

2009-01-19 Thread Sandro Noel
mmalc. after looking at the example page you sent me it gave me some answers about controllers that I was getting ready to ask, so thank you! Sandro Noel. On 18-Jan-09, at 8:36 PM, mmalc Crawford wrote: On Jan 18, 2009, at 5:02 PM, Sandro Noel wrote: How could I possibly observe the chan

Re: bindings and sub array modification notification.

2009-01-18 Thread Sandro Noel
Quincey, Thank you for taking the time to explain. It is very appreciated. With this explanation in mind my approach to save my files when the array changes is not a good way to go. I'll change the code. Thank you very much. :) Who owns what/who is a little confusing for me at this stage in

Re: bindings and sub array modification notification.

2009-01-18 Thread Quincey Morris
On Jan 18, 2009, at 17:02, Sandro Noel wrote: How could I possibly observe the changes in the information array or each host element? or if no possible, the currently selected host... I currently have an observer on the hosts array, and that works when the array is changed(added/deleted), b

Re: bindings and sub array modification notification.

2009-01-18 Thread mmalc Crawford
On Jan 18, 2009, at 5:02 PM, Sandro Noel wrote: How could I possibly observe the changes in the information array or each host element? mmalc ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: bindings and sub array modification notification.

2009-01-18 Thread Sandro Noel
Qiuncey, Solution 1 works like a charm thank you so much !!! that raises another question. How could I possibly observe the changes in the information array or each host element? or if no possible, the currently selected host... I currently have an observer on the hosts array, and that

Re: bindings and sub array modification notification.

2009-01-18 Thread mmalc Crawford
On Jan 18, 2009, at 2:13 PM, Sandro Noel wrote: I'm having a problem getting my collection view to update when i insert and element in my model. mmalc

Re: bindings and sub array modification notification.

2009-01-18 Thread Sandro Noel
Quincey, thank you for replying. Are you saying that the "information collection view" is a NSCollectionView which displays a subview for each information element in the currently selected host? information collection view displays a sub-view for every element of the information array i

Re: bindings and sub array modification notification.

2009-01-18 Thread Quincey Morris
On Jan 18, 2009, at 14:13, Sandro Noel wrote: My model is like this. Host (custom class). NSString *hostName NSArray *informationElements. In interface builder I have the host collection view bound to an array controller (arangedObjects.) who itself is bound to the :hosts: a

bindings and sub array modification notification.

2009-01-18 Thread Sandro Noel
Greetings. I'm having a problem getting my collection view to update when i insert and element in my model. My model is like this. Host (custom class). NSString *hostName NSArray *informationElements. In interface builder I have the host collection view bound to an array c