Skip to content

Instantly share code, notes, and snippets.

@dcrosby42
Created July 21, 2011 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcrosby42/1097494 to your computer and use it in GitHub Desktop.
Save dcrosby42/1097494 to your computer and use it in GitHub Desktop.
Imple of objection module .m
#import "CrozSpecialObjectionModule.h"
@implementation CrozSpecialObjectionModule
@synthesize window = _window;
- (id) initWithWindow:(UIWindow *)window {
if ((self = [super init])) {
_window = [window retain];
}
return self;
}
- (void) configure {
[self bind:self.window toClass:[UIWindow class]];
}
- (void)dealloc {
[_window release];
[super dealloc];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment