how to access properties of view controller in UIView class
<p>I have a <code>UIViewController</code> class that has a <code>NSString</code> and I want to fetch value of it in string of <code>UIView</code> that is subclass of  it but it is giving null ..
Here is my code</p>

<pre><code>(viewController.m class)
 paintABC = [[BIDABCPaint alloc] initWithFrame:CGRectMake(0,YOrigin, self.view.frame.size.width, newSize.height)];
  paintABC.backgroundColor=[UIColor colorWithPatternImage:newImage];
    paintABC.BtnTag=TagName;

          [self.view addSubview:paintABC];

       [paintABC release];
</code></pre>

<p>When I am printing  btnTag it's giving null value.
I have already initialize TagName  of ViewController.
Thanks in advance.</p>
