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

Re: KVO question


  • Subject: Re: KVO question
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 1 Jul 2010 09:15:16 -0700

On Jul 1, 2010, at 8:26 AM, Rainer Standke <email@hidden> wrote:

> Hello all,
>
> is it possible to determine if one object is observing another? Specifically, I'd like one object to ask another "are you observing me?". That way I could determine if I need to remove that observer before I let go of the observed object...

This is a very good indication that you have an inverted or cyclical dependency. Your observee shouldn't need to know about your observers.

What is your specific setup?

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

  • Follow-Ups:
    • Re: KVO question
      • From: Rainer Standke <email@hidden>
References: 
 >KVO question (From: Rainer Standke <email@hidden>)

  • Prev by Date: Re: Capturing output from another task with elevated privilages
  • Next by Date: Re: class_respondsToSelector() in runtime.h?
  • Previous by thread: KVO question
  • Next by thread: Re: KVO question
  • Index(es):
    • Date
    • Thread