how to get super class delegate and uptade the variable in super class from subclass
<pre><code> @interface first{

     nsstring one;
     second secondobject;

 }

 @interface second{

     nsstring two;

 }
</code></pre>

<p>in the above classes from second class i want to update the first class "one" string.</p>

<p>i knew that we can update the "two" string from the first class</p>

<p>but i want to update the string "one" from second class</p>

<ul>
<li><p>should not use appdelegate</p></li>
<li><p>should not use inheritance</p></li>
</ul>

<p>*i want to know like our AppDelegate has the <code>[[uiapplication sharedapplication]delegate]</code></p>

<p>by getting above delegate of appdelegate we can access properties of appDelegate class</p>

<p>Like this how can we can get the delegate for first class and access the properties of first class from the second class.</p>

<p>if any pictorial tutorial for tree structure please specify the link</p>

<p>here is my structure</p>
