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

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift