Return Delegate?

Discussion in 'iOS Programming' started by oxcug, Apr 30, 2012.

  1. oxcug macrumors newbie

    Oct 3, 2011
    I used to remember how to do this but, how do I return my app delegate object? It should look something like this right?:

    _delegate = [UIApplication delegate];
  2. cMacSW macrumors regular

    Mar 20, 2006
    Like this

    delegate = [[UIApplication sharedApplication] delegate];

Share This Page