Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:atomicobject/objection

  • Loading branch information...
commit ab29c1660e773d9aa8230866dd1966a4223c5ca4 2 parents 9e7b264 + 054dca1
@dewind dewind authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -56,12 +56,12 @@ An object can be fetched from objection by creating an injector and then asking
}
```
-A global injector can be registered with Objection which can be used throughout your application or library.
+A default injector can be registered with Objection which can be used throughout your application or library.
```objective-c
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
JSObjectionInjector *injector = [JSObjection createInjector];
- [JSObjection setGlobalInjector:injector];
+ [JSObjection setDefaultInjector:injector];
}
- (void)viewDidLoad {
@@ -141,7 +141,7 @@ Objection supports associating an object outside the context of Objection by con
@end
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
JSObjectionInjector *injector = [JSObjection createInjector:[[[MyAppModule alloc] init] autorelease]];
- [JSObjection setGlobalInjector:injector];
+ [JSObjection setDefaultInjector:injector];
}
```
#### Meta Class Bindings
Please sign in to comment.
Something went wrong with that request. Please try again.