Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 678 Bytes
#import <Foundation/Foundation.h>
@class JSObjectionInjector;
@interface JSObjectFactory : NSObject
@property (nonatomic, readonly, weak) JSObjectionInjector *injector;
- (instancetype)initWithInjector:(JSObjectionInjector *)injector;
- (id)getObject:(id)classOrProtocol;
- (id)getObject:(id)classOrProtocol withArgumentList:(NSArray *)arguments;
- (id)getObject:(id)classOrProtocol initializer:(SEL)initializer withArgumentList:(NSArray *)arguments;
- (id)getObject:(id)classOrProtocol named:(NSString *)named withArgumentList:(NSArray *)arguments;
- (id)objectForKeyedSubscript: (id)key;
- (id)getObjectWithArgs:(id)classOrProtocol, ... NS_REQUIRES_NIL_TERMINATION;
@end