mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-14 07:33:28 +01:00
Thread 1 = EXC_BAD_ACCESS (code=2, address = 0x7ffee9199ff8) - Reserved Property Names? #244
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ogugo on GitHub (Dec 12, 2018).
Hey John,
Loving your project. I just wanted to check if I'm right assuming that there's a conflict using property keys that match with NSManagedObject instance properties. I've isolated the crashing code, which set off an infinite loop calling [NSManagedObject description], [NSManagedObject _descriptionValues], and then _PF_Handler_Public_GetProperty.
private func makeExerciseDetailPage() -> BLTNItem {
@JohnEstropia commented on GitHub (Dec 12, 2018):
Oof, it's a no-no in Core Data to use any common NSObject property names, especially
description.You will want to rename this to property. Thanks for reporting this though, I'll write an
assertthat would catch these duringDataStackinitialization.@ogugo commented on GitHub (Dec 12, 2018):
Ahhh, that explains it. Thanks!