Looking at these comments, it seems that they are talking about the results obtained by the controllers. Thus, it would be quite expensive to get the FRC to perform a new selection after you have just changed one object, so you can combine your add context with it to notify it of any changes.
After you save and merge, any managed objects that you refer to in the context of the addition will no longer have the identifier of the temporary object, as they exist in the persistent storage. Therefore, you can remember the identifier and use [applicationContext objectWithID: newBookID] in the main context of the application, just fine, to get the handle to the object you are looking for. This will return the object (with all its changes) in the application context.
After the merge, it is likely that the object exists in memory and does not require a trip to the store. However, even if this is the case, since you are dealing with only one object to display in the detailed view, this is not a problem at all. Moving to storage rather than in context is slower, but obviously a whole bunch of time should happen during your application, and this is unlikely to cause problems if you are not dealing with a lot of data!
Hope this helps!
Michael waterfall
source share