title: Class controlling other view
body: <p>I have a view controller with this code on the ViewDidLoad...</p>
  
  <pre><code>UIImage *imageU = [[UIImage alloc]initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"transparent" ofType:@"png"]];
  TouchImageView *transparent = [[TouchImageView alloc] initWithImage:imageU];
  [transparent setUserInteractionEnabled: YES];
  [transparent setMultipleTouchEnabled: YES];
  [self.view addSubview:transparent];
  
  
  imageU = [[UIImage alloc]initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"pointer" ofType:@"png"]];
  myPointer = [[UIImageView alloc]initWithImage:imageU];
  [myPointer setUserInteractionEnabled: YES];
  myPointer.center = CGPointMake(160, 240);
  [self.view addSubview: myPointer];
  </code></pre>
  
  <p>as you see transparent's class is TouchImageView that is a subclass of UIImageView.</p>
  
  <p>what I need is, events generated inside TouchImageView class must control the position of "pointer", and this is an object outside the scope of the class.</p>
  
  <p>as you see, both transparent and pointer are on the same level hierarchically.</p>
  
  <p>How do I refer to pointer inside TouchImageView class?</p>
  
  <p>the line I am trying to make work is</p>
  
  <pre><code>self.superview.myPointer.transform = CGAffineTransformConcat(originalTransform, incrementalTransform);
  </code></pre>
  
  <p>but it says myPointer is something not a structure or union...</p>