Re: binding and too many relationship insertion
Re: binding and too many relationship insertion
- Subject: Re: binding and too many relationship insertion
- From: Olivier Destrebecq <email@hidden>
- Date: Thu, 1 Jul 2004 18:01:09 -0400
I think some people might be interested in what i found
To get this the insertion method to be called you must implement
insertObject:in<Key>AtIndex: and removeObjectFrom<Key>AtIndex:
But mutableArrayValueForKey: should not be implemented, else it will
insert in the array directly and not called you methods.
Olivier Destrebecq
http://www-personal.si.umich.edu/~olivier/portfolio/Resume.html
On Jul 1, 2004, at 11:06 AM, Olivier Destrebecq wrote:
when i send the add: message to an array controller in my app
everything works fine except that it use the set<Key>: method in my
method instead of the insertIn<Key>: method.
Is that supposed to be, is there a way to get it to use that insert
method. Does that mean that any code that need to be run when
inserting an object in the array needs to be in the controller and not
the model?
thanks for answers on any of those questions.
Olivier Destrebecq
http://www-personal.si.umich.edu/~olivier/portfolio/Resume.html
_______________________________________________
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.
_______________________________________________
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.