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

Re: kvo


  • Subject: Re: kvo
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 07 Mar 2011 15:36:26 -0800

On Mon, Mar 7, 2011 at 3:23 PM, Ariel Feinerman <email@hidden> wrote:
> Hi,
>
> I wish to use kvo to get data from NSOperation and observe isFinished but on
> witch thread is - observeValueForKeyPath:ofObject:change:context: executed?

>From the NSOperation documentation:

"Although you can attach observers to these properties, you should not
use Cocoa bindings to bind them to elements of your application’s user
interface. Code associated with your user interface typically must
execute only in your application’s main thread. Because an operation
may execute in any thread, KVO notifications associated with that
operation may similarly occur in any thread."

--Kyle Sluder
_______________________________________________

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: 
 >kvo (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: kvo
  • Next by Date: Re: Proper way to construct an Attribute NSXMLNode so that its prefix is included in its XMLString
  • Previous by thread: kvo
  • Next by thread: Re: kvo
  • Index(es):
    • Date
    • Thread