title: iPhone: How to Pass Data Between Several Viewcontrollers in a Tabbar App
body: <p>I have following problem:</p>
  
  <p>I have built a tabbar application with 4 tabs. I want to pass a object/variable from the first tab controller to the third one and initialize this controller with the corresponding object. </p>
  
  <p>I've already done some research. The best way, corresponding to a clean model approach, would be to call some initWithObject: method on the called viewcontroller.
  How can I achieve this? How can I call the <code>init</code> method of the receivercontroller within the callercontroller? Can you give me some code example?</p>
  
  <p>Edit:
  To pass data between several views/classes etc simply create  some Kind of data class which holds the data beeing shared between several classes. For more information follow the link:
  <a href="http://www.drobnik.com/touch/2009/05/the-death-of-global-variables/" rel="noreferrer">Singleton</a></p>