On an insert EOTempoaryGlobalID is supposed to be replaced with a NON temporary Global ID. This does not happen really and because of that an EO CAN be inserted multiple times. The Apple implementation swaps the temp id for a permanent one then fires a notification so that anything that might care about the event can update the global id pointer. There may be an easier solution. For instance isTemporary could return NO. but of couse if it was done in this way comparing the id class would be an incorrect way of determining it if is temporary or not.
I am thinking the easiest way of dealing with this is to use isTemporary and not REALLY change the global id.
On an insert EOTempoaryGlobalID is supposed to be replaced with a NON temporary Global ID. This does not happen really and because of that an EO CAN be inserted multiple times. The Apple implementation swaps the temp id for a permanent one then fires a notification so that anything that might care about the event can update the global id pointer. There may be an easier solution. For instance isTemporary could return NO. but of couse if it was done in this way comparing the id class would be an incorrect way of determining it if is temporary or not.
I am thinking the easiest way of dealing with this is to use isTemporary and not REALLY change the global id.