Skip to content

Commit

Permalink
update to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewind committed Jan 30, 2011
1 parent 787587c commit 68af2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A class can be registered with objection using the macros *objection_register* o


### Fetching Objects from Objection ### Fetching Objects from Objection


An object can be fetched from objection by creating an injector and then asking for an instance of a particular class. An injector manages its own object context. Which means that a singleton is per injector and is not necessarily a *true* singleton. An object can be fetched from objection by creating an injector and then asking for an instance of a particular class or protocol. An injector manages its own object context. Which means that a singleton is per injector and is not necessarily a *true* singleton.


- (void)someMethod { - (void)someMethod {
ObjectionInjector *injector = [Objection createInjector]; ObjectionInjector *injector = [Objection createInjector];
Expand Down

0 comments on commit 68af2f9

Please sign in to comment.