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
Had the same problem, the solution is indeed to use NSNumber in the @NSManaged property. Additionally you could define a computed Bool property so that you can work with the scalar Boolean in your business logic and not with the NSNumber.
var isCompleted: Bool {
get {
return completed == NSNumber(bool: true)
}
set {
completed = NSNumber(bool: newValue)
}
}