• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS Core Data property getting released unexpectedly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iOS Core Data property getting released unexpectedly
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Re: CoreAnimation - Resizing sublayers along with superlayer animation
  • Next by Date: Re: Modifying the Window Menu
  • Previous by thread: Re: 9
  • Next by thread: Re: iOS Core Data property getting released unexpectedly
  • Index(es):
    • Date
    • Thread