Triggering methods in Obj c
<p>I would like to detect taps with a tapRecognizer in one class that triggers another class to create an object of a third class.</p>

<p>How Can I trigger this method from the tap detecting class without creating a new object of the second class? </p>

<p>Or would creating a new object of this second class be fine? It would lose all of its old data though. </p>

<p>How is triggering like this done? I tried something but it just warned about an object is being accessed in a class method. </p>

<p>e.g. </p>

<pre><code>ViewController Class 1
+(void) setupClass2
{
 Class2 class = .........
 class.someValue = ......
 self.navigationController pushViewController:class ......
}

// The calling/trigger class should be able to invoke the setupClass function e.g.
[Class1 setupClass];
</code></pre>

<p>How is this done correctly?</p>
