I’m a new user of the data model editor in XCode 4. How do I delete a Fetch Request which I don’t want? It was difficult to figure out how to add one (click and hold the “Create Entity” button!). But now that I’ve created one, I can’t for the life of me figure out how to get rid of it.
I’d also appreciated pointers to a good tutorial on building predicates. eg something which answer how do you test if the year in a date attribute == something and similar questions.
Enjoy.
PS: Instead of 2.
you can also choose Delete from the Edit menu.Remarkably, this command has been around since 1984. 😉
As for your other question: check out Apple’s Predicate Programming Guide.
To search for a year in a date you do something like