• 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
Re: [iOS] Strange behavior of NSFetchedResultsController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iOS] Strange behavior of NSFetchedResultsController


  • Subject: Re: [iOS] Strange behavior of NSFetchedResultsController
  • From: WT <email@hidden>
  • Date: Thu, 10 Feb 2011 16:49:03 -0200

Your statement that I need to get the values of "indexOrName" stored in the store led me to write the odd-looking line of code below

cdCountry.indexOrName = cdCountry.indexOrName;

when the entities are created and it fixes the problem in the test project. I'm now more convinced than ever that CD stored an empty NSData object for each "indexOrName" entry, which would explain why their values weren't nil and, yet, they sorted "randomly."

Now on to the actual project. Hopefully this is all that is needed.

Thanks again for your message.
WT_______________________________________________

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

References: 
 >[iOS] Strange behavior of NSFetchedResultsController (From: WT <email@hidden>)
 >Re: [iOS] Strange behavior of NSFetchedResultsController (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSSearchfield help
  • Next by Date: Re: [iOS] Strange behavior of NSFetchedResultsController
  • Previous by thread: Re: [iOS] Strange behavior of NSFetchedResultsController
  • Next by thread: Re: [iOS] Strange behavior of NSFetchedResultsController
  • Index(es):
    • Date
    • Thread