src/video/uikit/SDL_uikitappdelegate.m
changeset 6090 687400b595ab
parent 6044 35448a5ea044
child 6138 4c64952a58fb
equal deleted inserted replaced
6089:30d57832687a 6090:687400b595ab
    77 }
    77 }
    78 
    78 
    79 @implementation SDLUIKitDelegate
    79 @implementation SDLUIKitDelegate
    80 
    80 
    81 /* convenience method */
    81 /* convenience method */
    82 + (SDLUIKitDelegate *)sharedAppDelegate
    82 + (id) sharedAppDelegate
    83 {
    83 {
    84     /* the delegate is set in UIApplicationMain(), which is garaunteed to be called before this method */
    84     /* the delegate is set in UIApplicationMain(), which is garaunteed to be called before this method */
    85     return (SDLUIKitDelegate *)[[UIApplication sharedApplication] delegate];
    85     return [[UIApplication sharedApplication] delegate];
    86 }
    86 }
    87 
    87 
    88 + (NSString *)getAppDelegateClassName
    88 + (NSString *)getAppDelegateClassName
    89 {
    89 {
    90     /* subclassing notice: when you subclass this appdelegate, make sure to add a category to override
    90     /* subclassing notice: when you subclass this appdelegate, make sure to add a category to override