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;
NSString * TapeName;
NSSet * VideoClip;
}
@interface VideoClip : NSManagedObject
{
NSString * StartTimeCode;
QTMovie * mMovie;
NSString * EndTimeCode;
NSString * Notes;
NSString * movieURL;
tapes * CurrentTape;
NSSet* Table;
}
@interface Table : NSManagedObject
{
NSString * Notes;
NSString * Name;
NSSet* CommandStates;
NSSet* Flexions;
NSSet* DataSources;
}
A reference to tapeList.tapes works fine, but a reference to
tapeList.tapes.VideoClip gives me a
"request for member "VideoClip in something not a structure or union" compile
time error.
The structure is pretty obvious from the model
see:
http://dl.dropbox.com/u/2415080/datamodel.pdf
but I'm baffled where it should reside in the code.
Thanks,
Joseph Ayers, Professor
Department of Biology and
Marine Science Center
Northeastern University
East Point, Nahant, MA 01908
Phone (781) 581-7370 x309(office), x335(lab)
Boston: 444 Richards Hall (617) 373-4044
Cellular (617) 755-7523, FAX: (781) 581-6076
Google Voice: (781) 346-9589
eMail: [email protected]<mailto:[email protected]>
iPhone: [email protected]<mailto:[email protected]>
http://www.neurotechnology.neu.edu/
http://robobees.seas.harvard.edu/
http://cyberplasm.net/
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]