Re: Add a view as observer of a subview transform

2011-07-03 Thread David Duncan
On Jul 3, 2011, at 9:40 PM, Tales Pinheiro De Andrade wrote: > I have a view with a subview. The subview is rotated by a drag operation, > when I change the subview transform property. > > Now I'm trying to set the view as observer of subview transform property, > like this: UIKit doesn't pro

Add a view as observer of a subview transform

2011-07-03 Thread Tales Pinheiro De Andrade
Hi, I have a view with a subview. The subview is rotated by a drag operation, when I change the subview transform property. Now I'm trying to set the view as observer of subview transform property, like this: [subView addObserver:self forKeyPath:@"transform" options:NSKeyValueObservingOptionN