Fetched Property in XCode Data Model Editor for minimum value
问题 How do I add a Fetched Property in XCode's Data Model Editor for minimum value of one attribute?? My model: Model http://www.freeimagehosting.net/uploads/b48853070e.png Item (name, note, storedItem) StoredItem (price, item) Item 1 ---> N StoredITem (1->N Relationship) I want that Item has a fetched property named minPrice and its value is the minimum value setted for price in the storedItems. Example: Item1 (banana, storedItem1 ... storedItem4, 10) StoredItem1 (10,item1) StoredItem2 (15,item1