Re: Observing bounds of an NSBezierPath
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