• 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: Remco Poelstra <email@hidden>
  • Date: Fri, 5 Jan 2007 08:21:07 +0100

Thank you. Then I'll wrap the bounds into the NSManagedObject ChartElement, that should work.

Regards,

Remco Poelstra

Op 5-jan-2007, om 6:39 heeft Scott Anguish het volgende geschreven:

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


References: 
 >Observing bounds of an NSBezierPath (From: Remco Poelstra <email@hidden>)
 >Re: Observing bounds of an NSBezierPath (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Why is my document not always marked as modified after a save?
  • Next by Date: Re: Using DirectoryService to Find Users
  • Previous by thread: Re: Observing bounds of an NSBezierPath
  • Next by thread: Why is my document not always marked as modified after a save?
  • Index(es):
    • Date
    • Thread