iOS Core Data property getting released unexpectedly
iOS Core Data property getting released unexpectedly
- Subject: iOS Core Data property getting released unexpectedly
- From: Rick Mann <email@hidden>
- Date: Fri, 20 Aug 2010 18:50:20 -0700
I have a Core Data entity with an associated class file and a bunch of dynamic properties defined. One of them is:
@property (nonatomic, copy) NSString* urlName;
For some reason, every now and again when my code goes to access this property, it throws an exception for accessing a zombie. The containing object seems fine, and the other properties seem fine. NSZombieEnabled is YES.
BTW, I wasn't sure how Core Data treated an NSString* property. Normally they should be "copy", but Xcode generates accessors with "retain". I tried both copy and retain and get the problem either way. Does CD introspect to determine the desired behavior of an accessor?
TIA,
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden