Re: NSManagedObject, NSString property retain vs copy
Re: NSManagedObject, NSString property retain vs copy
- Subject: Re: NSManagedObject, NSString property retain vs copy
- From: Jens Alfke <email@hidden>
- Date: Thu, 30 Jul 2015 10:48:42 -0700
> On Jul 30, 2015, at 9:03 AM, Trygve Inda <email@hidden> wrote:
>
> It seems Apple is using retain rather than copy for NSString properties in
> an NSManagedObject subclass.
So, you’re saying that if you store an NSMutableString into a dynamic NSManagedObject property, and then mutate the original string, the property’s value changes too? Do you have a snippet that exhibits this?
—Jens
_______________________________________________
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