Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.473 kb
#import "JSObjectionBindingEntry.h"
@implementation JSObjectionBindingEntry
- (id)initWithObject:(id)theObject {
if ((self = [super init])) {
_instance = [theObject retain];
}
return self;
}
- (id)extractObject:(NSArray *)arguments {
return _instance;
}
- (JSObjectionInstantiationRule)lifeCycle {
return JSObjectionInstantiationRuleSingleton;
}
- (void)dealloc {
[_instance release]; _instance = nil;
[super dealloc];
}
@end
Jump to Line
Something went wrong with that request. Please try again.