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

Re: observeValueForKeyPath:... called multiple times on exit


  • Subject: Re: observeValueForKeyPath:... called multiple times on exit
  • From: Keary Suska <email@hidden>
  • Date: Tue, 08 Apr 2008 15:01:17 -0600
  • Thread-topic: observeValueForKeyPath:... called multiple times on exit

on 4/8/08 1:23 AM, email@hidden purportedly said:

> 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?

Why do you think it shouldn't be? Have you put a breakpoint in the observe
method and looked at what conditions are triggering the message, and
determined that they shouldn't be happening? That should answer your
question.

Best,


Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: "Mike R. Manzano" <email@hidden>
References: 
 >observeValueForKeyPath:... called multiple times on exit (From: "Mike R. Manzano" <email@hidden>)

  • Prev by Date: Menu on system bar
  • Next by Date: Re: Menu on system bar
  • Previous by thread: observeValueForKeyPath:... called multiple times on exit
  • Next by thread: Re: observeValueForKeyPath:... called multiple times on exit
  • Index(es):
    • Date
    • Thread