Observing bounds of an NSBezierPath
Observing bounds of an NSBezierPath
- Subject: Observing bounds of an NSBezierPath
- From: Remco Poelstra <email@hidden>
- Date: Thu, 4 Jan 2007 19:15:21 +0100
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?
Thanks in advance,
Remco Poelstra
_______________________________________________
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