Terminating app due to uncaught exception 'NSGenericException', reason: Collection NSArray was mutated while being enumerated mutablecopy

Problem:

Mutable copy the coredata object and use as new object in iOS swift. 


Solution:

You cannot be able to mutablecopy the coredata object.So better using creating a new object and assign the values from the previous object.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift