On 2009 Jan 24, at 15:51, Ulai Beekam wrote:

My problem is that when I add directly to the managed object context, the item is not getting selected automatically in the array controller (by the way, I see the selection visually by means of the table view bound to the array controller) even if I have checked the "select on insert" checkbox on the array controller in Interface Builder.

I'm still confused about what you're having trouble with. But, inserting a managed object and selecting it in a table controlled by an array controller is a very standard design, like this...

http://developer.apple.com/samplecode/DepartmentAndEmployees/index.html

When you run that sample project, click "Add", fill in a name and you see your new Employee gets selected in the table. Just study how it's done there.

_______________________________________________

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