Re: Noddy array controller / bindings question
Re: Noddy array controller / bindings question
- Subject: Re: Noddy array controller / bindings question
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 28 Jul 2004 09:53:32 -0700
On Jul 28, 2004, at 5:21 AM, Ken Tabb wrote:
[I am unsure] ... whether an NSArrayController subclass *has* to
implement:
-countOf<Key>
-objectIn<Key>AtIndex:
-insertObject:in<Key>AtIndex: (if it's mutable)
-removeObjectFrom<Key>AtIndex: (if it's mutable)
... or if this is only for array controllers whose objects aren't
really arrays but need to be able to be treated as arrays (as the docs
state you can do if you need to) for the purposes of KVC?
The NSArrayController/subclass doesn't implement these methods, the
array container (such as your document class) does. See various
examples at:
<
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.