Following on from a previous question (Core Data/IB questions), I am
seeking advice again on how I should accomplish the following:
I need to select an arbitrary number (i.e. not necessarily 1 or all)
of objects from a set of all objects belonging to another entity. I
assumed this was a
From a quick look at the app in action, I'd say no.
Say for example a school wanted to organise various clubs (chess club,
debating club, objective-C club, etc). They could have an entity for
each of the clubs, with venue, time, motto etc attributes.
Since the members of each club will come
Is what you are describing similar to the "To Dos" example at:
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
Adam
On Thu, Mar 27, 2008 at 5:33 AM, Ian Jackson <[EMAIL PROTECTED]> wrote:
> If I may be so bold, I'd like to jump in on this question. I have a
> similar situation,
If I may be so bold, I'd like to jump in on this question. I have a
similar situation, but I want to have a table representing a to-many
relationship for entity1, which the user can populate by choosing any
number of entries from a entity2.
e.g. entity2 has 50 entries.
entity1 1st
I think that internally when you create a to-many core-data
relationship the group of objects is stored as an NSSet as opposed to
an array.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSSet_Class/Reference/Reference.html
http://developer.apple.com/documentation/Co
On Mar 26, 2008, at 11:06 PM, Adam Gerson wrote:
Each table should have its own ArrayController if the two tables
represent the data from two different entities. Since you entities are
related I am assuming one entity has a property that is a to-many
relationship to the other entity. Set the Con
On Wed, Mar 26, 2008 at 10:31 PM, Rick Mann <[EMAIL PROTECTED]> wrote:
> Question 2: I can see how a text field gets populated when you select
> an item in the table. How can I get a one table to populate based on
> the selection in another?
>
Each table should have its own ArrayController if th
I'm following the NSPersistentDocument Core Data tutorial, but
changing things for my little app along the way. For example, instead
of Employees and Departments, I have TrackPoints and Tracks (GPS
tracks).
After following a portion of the tutorial, I got a nice little master/
detail view,