reset()
Returns the context to its base state.
Declaration
func reset()Mentioned in
Discussion
All the receiver’s managed objects are “forgotten.” If you use this method, you should ensure that you also discard references to any managed objects fetched using the receiver, since they will be invalid afterwards.