• 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: Observing bounds of an NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Observing bounds of an NSBezierPath


  • Subject: Re: Observing bounds of an NSBezierPath
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 5 Jan 2007 00:39:17 -0500

the bounds aren't observable.

The majority of the AppKit things like this are not observable. If it is, it is an exception and probably noted as such in the doc.

When observability becomes more widely available expect the doc to explicitly state which are and are not KVO compliant.



On Jan 4, 2007, at 1:15 PM, Remco Poelstra wrote:

Hi,

I've the following code:
NSBezierPath *graphic=[newChartElement graphic];
[graphic addObserver:self
forKeyPath:@"bounds"
options:(NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld)
context:nil];


My observer function never get's called when I modify the bounds of the bezierpath. Could that be because the bounds are not observable? Or did I do something wrong?


_______________________________________________

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: Observing bounds of an NSBezierPath
      • From: Remco Poelstra <email@hidden>
References: 
 >Observing bounds of an NSBezierPath (From: Remco Poelstra <email@hidden>)

  • Prev by Date: Re: Help with Predicate count/relationships
  • Next by Date: Re: NSOpenPanel won't enable "Ok" button second time around
  • Previous by thread: Observing bounds of an NSBezierPath
  • Next by thread: Re: Observing bounds of an NSBezierPath
  • Index(es):
    • Date
    • Thread