Return Delegate?

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

  1. oxcug macrumors newbie

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

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

    Joined:
    Mar 20, 2006
    #2
    Like this

    delegate = [[UIApplication sharedApplication] delegate];
     

Share This Page