EXC_BAD_ACCESS for MR_importFromObject with fast

I am new to swift and I have a problem when I try to import data using magic notation, with objective C it works like a charme:

let importedUser = User.MR_importFromObject(dic) as! User 

I get EXC_BAD_ACCESS , I try to include zombie objects in vain. apparently it falls here:

 results = [context executeFetchRequest:request error:&error];

For me, the context is not null.

+4
source share
1 answer

MagicalRecord fixed the error, you can update it. Magicalrecord

0
source

Source: https://habr.com/ru/post/1622073/


All Articles