• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Array Controller "Select Inserted Objects" [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Array Controller "Select Inserted Objects" [SOLVED]
      • From: Jerry Krinock <email@hidden>
References: 
 >Re: Array Controller "Select Inserted Objects" [SOLVED] (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Next by Date: Re: Alternative KVC accessors
  • Previous by thread: Re: Array Controller "Select Inserted Objects" [SOLVED]
  • Next by thread: Re: Array Controller "Select Inserted Objects" [SOLVED]
  • Index(es):
    • Date
    • Thread