EXC_BAD_ACCESS error when trying to change Bool property

后端 未结 4 2003
甜味超标
甜味超标 2020-12-17 18:05

I\'m trying to change a Bool property and am receiving an EXC_BAD_ACCESS error.

I\'m using XCode 6 and Swift.

The note property saves fine but t

4条回答
  •  失恋的感觉
    2020-12-17 18:50

    You can use a swift Bool with an NSManagedObject - no need for the NSNumber nonsense. But you need to make sure that in the core data editor, the class is not empty. Enter your objects' name.

提交回复
热议问题