On Jun 28, 2008, at 8:51 PM, Alex Wait wrote:
i've read most of
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class/Reference/Reference.html
and I don't see what you mean. is there some "magic" key?
No, there is no magic key.
why isn't it Person or array?
What does the documentation say about how mutableArrayValueForKey:
works?
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSKeyValueCoding_Protocol/Reference/Reference.html#//apple_ref/occ/instm/NSObject/mutableArrayValueForKey:
>
If you read *all* the reference for NSArrayController, do you see a
method "Person" or a method "array"?
I tried doing
[controller addObject:newObj];
[table reloadData];
and that 'worked" at least.
It's not clear in what sense this "worked" as opposed to just worked.
The invocation of relaodData should be superfluous.
mmalc
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]