Re: Add KVO for observing center property from a UIImageView

2011-06-23 Thread Nick Zitzmann
On Jun 23, 2011, at 5:27 PM, Tales Pinheiro de Andrade wrote: > Hi again. > > I have a custom view (say ECGlassView), subclass from UIImageView, and this > view has a subview (say ECNeedleView) that is subclass from UIImageView. > > I'm trying to add viewA as observer for viewB center, as I ca

Add KVO for observing center property from a UIImageView

2011-06-23 Thread Tales Pinheiro de Andrade
Hi again. I have a custom view (say ECGlassView), subclass from UIImageView, and this view has a subview (say ECNeedleView) that is subclass from UIImageView. I'm trying to add viewA as observer for viewB center, as I can move viewB above viewA. When I try to tho this: [self.needle addObserve