loading the object in another view
<p>I have a viewcontroller in which i have name and dob as string ,when a user clicks on submit button,the strings value should go to the prevoius controller for displaying...</p>

<p>For this i have made a .h and .m class and it's object is collecting the value in that class's object but how to pass the value to other controller from that object...</p>

<p>Here is the code below.....</p>

<p>after pressing the submit button,</p>

<pre><code>objFrndDetails.frndName=self.txtFriendName.text;
objFrndDetails.frndDob=self.txtDOB.text;
</code></pre>

<p>here objFrndDetails is the object of my new .h amd .m class....</p>

<p>now.pLease help me...to pass the value i</p>
