Is it possible to call a performSegueWithIdentifier from another class?
<p><strong>I just build a class to manage correctly my database and JSON request. The problem is that now, how can I perform the segue ?</strong></p>

<p>Here is my code 
In my view : </p>

<pre><code>- (IBAction)loginClick:(id)sender
{
    NSString *post = [NSString stringWithFormat:@"username=test&amp;password=test"];
    [[DataManagement sharedManager] WebServiceLogin:post];
}
- (void) showTypeView
{
    [self performSegueWithIdentifier:@"showTypeView" sender:nil];
}
</code></pre>

<p>In my class :</p>

<pre><code>    -(void)connectionDidFinishLoading:(NSURLConnection *)connection
    {
...
                switch ([[response valueForKey:@"success"] intValue])
                {
                    case 0:
                    {
                        NSLog(@"error: %@ error Description: %@", [response valueForKey:@"success"], [response valueForKey:@"error_message"]);
                        break;
                    }
                    case 1:
                    {
                        LoginViewController *showView = [LoginViewController new];
                        [showView showTypeView];
                        break;
                    }
                    default:
                        break;
                }
...
    }
</code></pre>

<p>When I launch, I have an error :
**</p>

<pre><code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (&lt;LoginViewController: 0x165afd30&gt;) has no segue with identifier 'showTypeView''
*** First throw call stack:
(0x2592e2eb 0x250fadff 0x29e2b037 0xe1819 0xdb64f 0x25f64de1 0x25f64d99 0x25f64e8d 0x25e261ef 0x25edf04f 0xa77cab 0xa7f835 0x25e171e3 0x258415f9 0x25e170cb 0x25e16f95 0x25e16e29 0x258f1257 0x258f0e47 0x258ef1af 0x25841bb9 0x258419ad 0x26abbaf9 0x29b2dfb5 0xe3ea9 0x254f4873)
libc++abi.dylib: terminating with uncaught exception of type NSException
</code></pre>

<p>**</p>