• 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
NSManagedObject setValue:forKey: slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSManagedObject setValue:forKey: slow


  • Subject: NSManagedObject setValue:forKey: slow
  • From: Lee Morgan <email@hidden>
  • Date: Fri, 17 Jun 2005 20:12:53 -0400

I'm using NSManagedObject's setValue:forKey: to set a object for a to- one relationship.
However it seems to be considerably slower than setting any other value of my object.


I've cycling though a large array and setting this relationship for each object, as such this is causing my GUI to lock up for a few seconds every time I do this.

Any suggestions on how to speed this up or a way to prevent the GUI from locking would be great.
Threading doesn't seem to be the answer, as I don't believe it is thread save - don't know for sure though, can't seem to find it in the docs.


- Lee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • [SOLVED] NSManagedObject setValue:forKey: slow
      • From: Lee Morgan <email@hidden>
  • Prev by Date: Re: Cut copy paste without menu.
  • Next by Date: [SOLVED] NSManagedObject setValue:forKey: slow
  • Previous by thread: Re: "Default" Value In Object [SOLVED]
  • Next by thread: [SOLVED] NSManagedObject setValue:forKey: slow
  • Index(es):
    • Date
    • Thread