• 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
Help with Core Data and an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with Core Data and an NSTableView


  • Subject: Help with Core Data and an NSTableView
  • From: Ryan Glover <email@hidden>
  • Date: Thu, 15 Dec 2005 09:14:41 -0500

Hello,

I have been experimenting with Core Data and I have created a simple
application that allows the user to add file path references to a Core
Data entity. The TableView has a single column and lists the file
paths.

I then created an action and an outlet for the table view so that when
a user double clicks on the table it fires the action. I am able to
grab the index of the row clicked inside the subroutine for this
action.

My question is how do I associate that index with the corresponding
entry in core data? (in other words, how do i get the filePath from
the index). I have read about having a NSMutableArray named records
that tracks all of the data in the table but in all of the examples I
have seen Core Data isn't being used. Does Core Data create an
NSMutableArray for the TableView that I could tap into with my index?

Any advice would be greatly appreciated.

Thank you,
Ryan Glover
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Help with Core Data and an NSTableView
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Creating a nstextfield in a tab,
  • Next by Date: Re: Creating a nstextfield in a tab,
  • Previous by thread: Re: Getting a 128x128 icon for a file or file type
  • Next by thread: Re: Help with Core Data and an NSTableView
  • Index(es):
    • Date
    • Thread