T teguh123 macrumors member Original poster Mar 22, 2011 62 0 Apr 7, 2011 #1 I search for Creating a Managed Object Model with Xcode The only thing left is filibeto.com
ClutchThese macrumors 65816 Jun 25, 2010 1,249 65 Alexandria, VA Apr 7, 2011 #3 if you still have trouble finding what you're looking for, go to developer.apple.com That's your best bet for reference material pertaining to Xcode. Good luck. Last edited by a moderator: Apr 8, 2011
if you still have trouble finding what you're looking for, go to developer.apple.com That's your best bet for reference material pertaining to Xcode. Good luck.
T teguh123 macrumors member Original poster Mar 22, 2011 62 0 Apr 10, 2011 #4 One Way Relationship in Core Data Every restaurant must have Latitude and Longitude. However, every LatitudeLongitude object must not have "a restaurant" So I have a one way relationship and generate a compiler warning. What's the catch? Should I use fetchRelationship instead? But what the hell is fetchRelationship? Why is it one way? Why does it have predicate? Why it is called fetch? I read the documentation and doesn't seem to get what it really is.
One Way Relationship in Core Data Every restaurant must have Latitude and Longitude. However, every LatitudeLongitude object must not have "a restaurant" So I have a one way relationship and generate a compiler warning. What's the catch? Should I use fetchRelationship instead? But what the hell is fetchRelationship? Why is it one way? Why does it have predicate? Why it is called fetch? I read the documentation and doesn't seem to get what it really is.
dantastic macrumors 6502a Jan 21, 2011 572 678 Apr 10, 2011 #5 You're using Core Data, right? If you have a read about it it will say that Core Data really wants you to have a reverse relationship. So if your Restaurant has a Location object (1-1) Then your Location Object need a Restaurant object (1-1) to point back to. Core data uses this to ensure it won't end up with orphans.
You're using Core Data, right? If you have a read about it it will say that Core Data really wants you to have a reverse relationship. So if your Restaurant has a Location object (1-1) Then your Location Object need a Restaurant object (1-1) to point back to. Core data uses this to ensure it won't end up with orphans.