Re: Array Controller "Select Inserted Objects" [SOLVED]
Re: Array Controller "Select Inserted Objects" [SOLVED]
- Subject: Re: Array Controller "Select Inserted Objects" [SOLVED]
- From: Mike Abdullah <email@hidden>
- Date: Sat, 2 Jan 2010 18:24:42 +0000
On 2 Jan 2010, at 05:12, Jerry Krinock wrote:
>
> On 2009 Dec 05, at 22:43, Jerry Krinock wrote:
>
>> I tested a new build of an app today and found that, all of a sudden, clicking the "+" button for a table view adds a new object but no longer selects it.
>
> The problem was that I was invoking the array controller's -newObject, *then* inserting it
That doesn't sound quite right to me. -newObject isn't supposed to insert the object into the receiver. BUT, if in Entity mode, it will insert the object into the managed object context, which in turn could cause it to show up in the controller, depending on the settings._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden