Recent searches with Core Data
问题 I'm making a Core Data app for the iPhone, but hope the question applies enough to Mac OS X to be answered in that context with no NDA issues. When a user does a search, I am saving each result into a context using entity Entry. I want these results to be retrievable later under a Recent Searches section. What's the best way to go about this? One way I'm considering is add another entity named History with an Entry attribute linking to this. First search results would have Entry.history_id =