• 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: Getting the values from the selected row of a table?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the values from the selected row of a table?


  • Subject: Re: Getting the values from the selected row of a table?
  • From: John Velman <email@hidden>
  • Date: Tue, 7 Oct 2008 13:23:19 -0700

Well, you're undoubtedly right that I'm "not quite getting bindings" yet,
but I'm a lot closer than I was.  I'll ponder what you've suggested and see
whether I "get it" or can come up with some better questions!

Thanks,

John V.

On Tue, Oct 07, 2008 at 03:10:27PM -0400, I. Savant wrote:
> On Oct 7, 2008, at 2:55 PM, John Velman wrote:
>
>> I'm able to get the selected row index, but this seems to give the
>> "geographic" index of the selected row in the table, as sorted.
>
>   Why don't you get the selected object from your array controller
> directly, then ask it for the value of its primary key attribute?
>
>   Otherwise, if you want (or for some reason need) to look it up by its
> selected row, you're most likely asking your array controller for its
> array, right? Ask it for its -arrangedObjects, *then* determine the index
> of that object.
>
>   Overall, though, it sounds like you're not quite getting Bindings
> (particularly the controller layer's role in Bindings) and could probably
> benefit from another perusal of the documentation (or a few well-chosen
> questions here).
>
> --
> I.S.
>
_______________________________________________

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

References: 
 >Getting the values from the selected row of a table? (From: John Velman <email@hidden>)
 >Re: Getting the values from the selected row of a table? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Parsing integers from strings
  • Next by Date: Cocoaheads Lake Forest (92630) meeting 10/8/2008 at 7 pm on "Parallel Processing with a Core Data Store"
  • Previous by thread: Re: Getting the values from the selected row of a table?
  • Next by thread: Re: Getting the values from the selected row of a table?
  • Index(es):
    • Date
    • Thread