src/video/uikit/SDL_uikitappdelegate.m
changeset 6090 687400b595ab
parent 6044 35448a5ea044
child 6138 4c64952a58fb
--- a/src/video/uikit/SDL_uikitappdelegate.m	Sat Nov 19 19:18:20 2011 -0500
+++ b/src/video/uikit/SDL_uikitappdelegate.m	Sat Nov 19 19:23:33 2011 -0500
@@ -79,10 +79,10 @@
 @implementation SDLUIKitDelegate
 
 /* convenience method */
-+ (SDLUIKitDelegate *)sharedAppDelegate
++ (id) sharedAppDelegate
 {
     /* the delegate is set in UIApplicationMain(), which is garaunteed to be called before this method */
-    return (SDLUIKitDelegate *)[[UIApplication sharedApplication] delegate];
+    return [[UIApplication sharedApplication] delegate];
 }
 
 + (NSString *)getAppDelegateClassName