Skip navigation.
 
mlRe: NSArrayController and threading
FROM : Scott Stevenson
DATE : Wed Dec 22 22:40:55 2004

On Dec 22, 2004, at 1:27 PM, Joe Chan wrote:

> /* This doesn't work
>     [self willChange: NSKeyValueChangeReplacement valuesAtIndexes:indexes
> forKey:@"thumbnail"];
>     [self didChange:  NSKeyValueChangeReplacement valuesAtIndexes:indexes
> forKey:@"thumbnail"];
> */
> }
>
> Which seems very strange to me. Is this a bug in the binding stuff, or
> am I not understanding willChange:valuesAtIndexes:forKey: right?


Does Document implement -thumbnail or have an ivar named "thumbnail"?

If not, it looks like this won't do anything. The key here has to
represent an array or some sort of to-many relationship.


    - Scott

--
http://treehouseideas.com/
http://theocacao.com/ [blog]

Related mailsAuthorDate
mlNSArrayController and threading Joe Chan Dec 19, 21:58
mlRe: NSArrayController and threading John C. Randolph Dec 21, 00:26
mlRe: NSArrayController and threading Joe Chan Dec 22, 15:29
mlRe: NSArrayController and threading John C. Randolph Dec 22, 22:08
mlRe: NSArrayController and threading Joe Chan Dec 22, 22:27
mlRe: NSArrayController and threading Scott Stevenson Dec 22, 22:40
mlRe: NSArrayController and threading John C. Randolph Dec 23, 00:16
mlRe: NSArrayController and threading mmalcolm crawford Dec 23, 00:26
mlRe: NSArrayController and threading mmalcolm crawford Dec 23, 00:41