Closed ignotusverum closed 7 years ago
After migrating project to Swift 3.0, i'm having following issues with .save method:
// Previously .saveWithBlock MagicalRecord.save { context in // Save some changes here }
"Ambiguous use of 'save' ", any ideas how to fix it ?
Thanks
Yes, just add "(" and ")" around your block : MagicalRecord.save({ (context) in // Save some changes here })
MagicalRecord.save({ (context) in // Save some changes here })
After migrating project to Swift 3.0, i'm having following issues with .save method:
"Ambiguous use of 'save' ", any ideas how to fix it ?
Thanks