Permalink
Browse files

added a TODO to readme

  • Loading branch information...
1 parent bd887b5 commit 853debb1837885cd6cd154932d3c2c26c83c0327 @thestoics thestoics committed Dec 6, 2010
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.md
View
@@ -65,6 +65,21 @@ If an object is interested in knowing when it has been fully instantiated by obj
id car = [ObjectionInjector getObject:[Car class]];
}
+### TODO
+
+* Migrate to using a module specific context rather than a shared global context (similar to Guice)
+
+ @implementation MyModule
+ - (void) configure {
+ [self bind:[UIApplication sharedApplication] toClass:[UIApplication class]];
+ }
+ @end
+
+ - (void)forExample {
+ ObjectionContext context = [Objection getContext:aModule];
+ id object = [context getObject:[MyObject class]];
+ }
+
Installation
=======

0 comments on commit 853debb

Please sign in to comment.