• 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
observeValueForKeyPath:... called multiple times on exit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

observeValueForKeyPath:... called multiple times on exit


  • Subject: observeValueForKeyPath:... called multiple times on exit
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Tue, 8 Apr 2008 00:23:13 -0700

Okay. Here's a weird one:

I have an object observing an NSArrayController's "arrangedObjects" property. My observeValueForKeyPath:... is called as expected, except for shutdown. When I quit my application, it is called multiple times, but the array contents haven't changed. The NSArrayController is controlling an array of Core Data managed objects.

Elsewhere in my code, I have another subscription just like it, only it's observing a different NSArrayController, but it does not exhibit this behavior.

Is this behavior normal?

Cheers,

Mike
_______________________________________________

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: observeValueForKeyPath:... called multiple times on exit
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: NSUndoManager grouping somewhat broken?
  • Next by Date: Returning a value from a function
  • Previous by thread: Re: alBufferData, void * data
  • Next by thread: Re: observeValueForKeyPath:... called multiple times on exit
  • Index(es):
    • Date
    • Thread