Re: Crash setting NSManagedObject attributes
Re: Crash setting NSManagedObject attributes
- Subject: Re: Crash setting NSManagedObject attributes
- From: Rick Mann <email@hidden>
- Date: Fri, 30 Apr 2010 21:06:21 -0700
On Apr 30, 2010, at 21:02:08, Rick Mann wrote:
>
> On Apr 30, 2010, at 20:51:37, Rick Mann wrote:
>
>> I added a couple of Int 32 attributes to an otherwise-working NSManagedObject. The object has a custom NSManagedObject subclass. The properties are named "sequence" and "type." I can read them without problem, but setting them causes an EXEC_BAD_ACCESS. Doesn't matter which one I attempt to set.
>>
>> I figure I missed a step somewhere, but I can't figure out where. This is an iPad app; I deleted the app from the simulator to start with a clean persistent store.
>>
>> Any suggestions? Thanks!
>
> I changed "sequence" to "sequence1", and now both can be set without crashing. What's up with that?
Huh. I changed the name back to "sequence", and now it all seems to work correctly. I wonder if my xcdatamodel got corrupted somehow.
--
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