title: Objective C - UIStepper reaction
body: <p>I tried to ask this question, but somehow I failed to express myself right I guess so I deleted it and started fresh.</p>
  
  <p>I have a hierarchy:- <strong>ViewController</strong> => <strong>UIView</strong> => <strong>Stepper</strong></p>
  
  <p>Here is  my code of the UIView:-</p>
  
  <pre><code>@implementation Controls
  @synthesize m_numColumn=_whatever;
  - (id)initWithFrame:(CGRect)frame
  {
      self = [super initWithFrame:frame];
      if (self) {
          // Initialization code
          int i;
          m_numColumn= [[UIStepper alloc]init];
          m_numColumn.frame = CGRectMake(1, 1, 30, 30);
          m_numColumn.autorepeat= FALSE;
          [m_numColumn setValue:2];
          m_displayColumnNum= [[UILabel alloc]init];
          m_displayColumnNum.frame = CGRectMake(30, 30, 60, 30);
        //  m_displayColumnNum.backgroundColor =lgammaf(&lt;#float#&gt;);
         // m_displayColumnNum.text= [NSString stringWithFormat:@"aaaaaa"];
          i= m_numColumn.value;
          m_displayColumnNum.text= [NSString stringWithFormat:@"%d",i];
          [self addSubview:m_numColumn];
          [self addSubview:m_displayColumnNum];
       //   Controls.delegate = [m_numColumn.navigationController.viewControllers objectAtIndex:0];
          [m_numColumn addTarget:self  action:@selector(stepperChanged:) forControlEvents:UIControlEventTouchUpInside];
          //[m_numColumn setdelegate];
  
  
      }
      return self;
  }
  </code></pre>
  
  <p>The important line here is:</p>
  
  <pre><code>[m_numColumn addTarget:self  action:@selector(stepperChanged:) forControlEvents:UIControlEventTouchUpInside];
  </code></pre>
  
  <p>What I would like is to react on that event in the UIViewController (parent object). How do I do that?</p>