On Mar 29, 2010, at 1:43 PM, Gustavo Pizano wrote:

> My guess was that when removing the objects form the array controller, these 
> were being removed form the MOC, and therefore I couldn't see them in the 
> consultation mode, only after restarting the app when the MOC fetch again the 
> data.

An array controller won't remove MO's unless you have told it to. Check the 
setting in IB, or set it explicitly in code.

> Now I need to be able to clean the table after saving, otherwise I can't 
> create more items unless I restart the app, or if I clean the table I must 
> restart the app in order to see the newly created invoice's details.

This is a sign of poor design. The items array controller should use the 
invoice relationship as its content and it will take care of itself.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to