Re: CoreData models as structures

2010-11-06 Thread Quincey Morris
On Nov 6, 2010, at 11:41, Ayers, Joseph wrote: > The fundamental problem seems to be nested to-many relationships. The sample > code twomanycontroller seems to do what I want, but it's pre-core data and > the data model won't open. One wonders how a coredata version of that would > work. Again

Re: CoreData models as structures

2010-11-06 Thread Ayers, Joseph
The fundamental problem seems to be nested to-many relationships. The sample code twomanycontroller seems to do what I want, but it's pre-core data and the data model won't open. One wonders how a coredata version of that would work. ja On Nov 6, 2010, at 1:25 PM, Quincey Morris wrote: > On

Re: CoreData models as structures

2010-11-06 Thread Quincey Morris
On Nov 6, 2010, at 06:54, Ayers, Joseph wrote: > On Nov 5, 2010, at 7:52 PM, Quincey Morris wrote: > >> A. With your declarations, 'tapeList.tapes' is a NSSet. The set doesn't have >> a "VideoClio" property (though its members do), and the compiler is >> correctly telling you that you can't ref

Re: CoreData models as structures

2010-11-06 Thread Ayers, Joseph
On Nov 5, 2010, at 7:52 PM, Quincey Morris wrote: > On Nov 5, 2010, at 15:13, Ayers, Joseph wrote: > >> I have a core data model that has a series of to-many relationships of the >> type: >> >> @interface TapeList : NSManagedObject >> { >> NSString * ListURL; >> NSSet* tapes; >> } >> >>

Re: CoreData models as structures

2010-11-05 Thread Quincey Morris
On Nov 5, 2010, at 15:13, Ayers, Joseph wrote: > I have a core data model that has a series of to-many relationships of the > type: > > @interface TapeList : NSManagedObject > { >NSString * ListURL; >NSSet* tapes; > } > > @interface tapes : NSManagedObject > { >NSString * Notes; >

RE: CoreData models as structures

2010-11-05 Thread Jim Adams
I have found that it means I have to include the header file for the inner instance. -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Ayers, Joseph Sent: Friday, November 05, 2010 6:13