On Jun 21, 2011, at 07:16, talesp wrote:
> 1.: should I just check if the object is different from self? Or some more
> "complicated"? And what should I check as keyPath?
In general, different classes can use the same property names, and keyPath
refers to a property name. So, you need to be cer
Thank you for the answer. It just worked!
About the notes:
1.: should I just check if the object is different from self? Or some more
"complicated"? And what should I check as keyPath?
2.: if I send a context parameter from observer (the context can be a NSString
for example, right?), should
On Jun 19, 2011, at 11:59, Tales Pinheiro de Andrade wrote:
>if ([keyPath isEqualToString:@"contentOffset"]) {
>CGPoint newContentOffset = [(UIScrollView *)object contentOffset];
>newContentOffset.y = self.contentOffset.y;
>self.contentOffset = newContentOffset;
>}
Hello,
I've the following situation: I have 3 UIScrollViews in an app. The first is
like a table (centerTable). The second a row (firstRow) and the last a column
(firstColumn). The column must scroll only in vertical, the row only in
horizontal and the table in any direction. And the movement m