• 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: KVO using threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO using threads


  • Subject: Re: KVO using threads
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 1 May 2007 15:24:55 -0400

No. KVO messages are not threadsafe.

On May 1, 2007, at 2:40 PM, Paulo F. Andrade wrote:

Hi!

Does KVO work when the changes are made in different thread?

I'm changing a tooMany relationship using the add<Key>Object: method generated by the Xcode modeling tool.
The changes however aren't reflected in my tableview. I've also tried using the mutableSetForKey:.


I know my tableView is set up correctly because if I restart my application (causing all changes do flush to the SQLite store), every change I made shows up correctly!

I've search the net for this and found that Bindings don't work with DO, does this means they don't work with threads?

Paulo F. Andrade 52439@IST
mailto: email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: KVO using threads
      • From: Chris Kane <email@hidden>
References: 
 >KVO using threads (From: "Paulo F. Andrade" <email@hidden>)

  • Prev by Date: Re: NSTemporaryDirectory() and security
  • Next by Date: problem blitting to fullscreen window
  • Previous by thread: KVO using threads
  • Next by thread: Re: KVO using threads
  • Index(es):
    • Date
    • Thread