title: Delegate function not called in AppDelegate
body: <p>I have written protocol in a view controller, and implement it in AppDelegate, and when I call delegate function from view controller, the delegate function is not called. Below is my code - </p>
  
  <p>In class AuthenticationViewController - </p>
  
  <pre><code>@class AuthenticationViewController;
  @protocol ApplicationTiomeoutDelegate &lt;NSObject&gt;
  
  -(void) addObserverForTimeout;
  
  @end
  </code></pre>
  
  <p>And call this function using delegate - </p>
  
  <pre><code>[self.appTimeoutDelegate addObserverForApplicationTimeout];
  </code></pre>
  
  <p>And in AppDelegate, I have implemented this protocol like this - </p>
  
  <pre><code>@interface AppDelegate () &lt;ApplicationTiomeoutDelegate&gt;
  @end
  </code></pre>
  
  <p>And then set delegate to self - </p>
  
  <pre><code>AuthenticationViewController *timeoutDelegate = [[AuthenticationViewController alloc] init];
  [timeoutDelegate setAppTimeoutDelegate:self]; 
  </code></pre>
  
  <p>And implemented delegate function as well in AppDelegate, which is never called somehow - </p>
  
  <pre><code>-(void) addObserverForApplicationTimeout{
   // this function is never called 
  } 
  </code></pre>
  
  <p>I am not sure what is not correct here.</p>