-
-
Save hstdt/f0f4530bc0648bcbf0eb3ff12b14605b to your computer and use it in GitHub Desktop.
获得appDelegat单例对象
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (AppDelegate *)sharedAppDelegate { | |
return (AppDelegate *)[[UIApplication sharedApplication] delegate]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment