I have a Core data entity called day that has a to-one relationship with another entity named spot named spotTable.
I fetched a day record and i want to access the spot object related to my day instance i accessed it like this:
self.spotTable = [self.day valueForKey:@"spotTable"];
but when i print the spotTable object to the console i get that the data is faulted:
2012-04-28 13:33:35.161 The Parking Lot[18800:fb03] SpotTable: <NSManagedObject: 0x6b2b820> (entity: Spot; id: 0x6b2b200 <x-coredata://B1F7E573-BCD7-486D-8471-C3D80B891A3B/Spot/p1> ; data: <fault>)
is there a way i can fetch the data from the spotTable object?