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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to