Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Make SDL_uikitviewcontroller.window a real Objective-C property and s…
…ynthesize
  • Loading branch information
keestux committed Sep 28, 2011
1 parent 886f96e commit 4a9a33d520cc202ca3c31fafea26fbb9d235e6bc

File 2 of 2 in 4a9a33d

@@ -33,12 +33,15 @@

@implementation SDL_uikitviewcontroller

@synthesize window;

- (id)initWithSDLWindow:(SDL_Window *)_window
{
if ((self = [self init]) == nil) {
self = [self init];
if (self == nil) {
return nil;
}
self->window = _window;
self.window = _window;
return self;
}

0 comments on commit 4a9a33d

Please sign in to comment.