I'm new to core data and objective-c in general. In NSManagedObjectContext's documentation, in the reset method, it is stated that:
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.
however I really could't figure this out - what does "discard reference to to any managed objects fetched" means and how do I do it? By the way, I am asking this question because I have to debug some code in an app which crashes when calling the reset method.
I tried looking for answers, and found this question on Stack Overflow, but couldn't really figure out the answer.
If you have any idea what does discarding reference to fetched managed objects mean and / or how to do it, it will be very appreciated.