Skip navigation.
 
mlbinding to count method of an NSArray?
FROM : m
DATE : Tue Aug 17 23:47:16 2004

I'm trying to bind an NSTextField such that it displays the number of
items in an NSArray. I already have a table bound to the array and
that's working well. I've tried a number of ways to get at the array's
count, but I'm beginning to think that it's not possible:

2004-08-17 14:45:01.739 norman[5314] An uncaught exception was raised
2004-08-17 14:45:01.739 norman[5314] [<NSCFArray 0x115afc0>
addObserver:forKeyPath:options:context:] is not supported.  Key path:
count
2004-08-17 14:45:01.740 norman[5314] *** Uncaught exception:
<NSInvalidArgumentException> [<NSCFArray 0x115afc0>
addObserver:forKeyPath:options:context:] is not supported.  Key path:
count

Any pointers?

_murat
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlbinding to count method of an NSArray? m Aug 17, 23:47
mlRe: binding to count method of an NSArray? mmalcolm crawford Aug 18, 00:08
mlRe: binding to count method of an NSArray? Allan Odgaard Aug 18, 00:18
mlRe: binding to count method of an NSArray? m Aug 18, 22:57