Help with Core Data and an NSTableView
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