This site finally got its much-needed overhaul.
I tried to keep existing pages at their original URLs.
Should you find an error, please do tell me at
contact@aspyct.org.
Feel free to visit the new website, which may contain more documentation pertaining to your search.
Thank you for visiting aspyct.org, I hope you'll find what you're looking for.
APServiceBox had a little update today (v12.08.29). Now, when you call the fill: method for the first time, APServiceBox will first scan all its dependencies and fill them as well. Thus, you can have dependencies that depend on each other. All you have to do is register both dependencies into the container before you fill: your first object. Read on for an example.
APServiceBox*box=[[APServiceBoxalloc]init];[boxregisterDependency:preferenceMangeras:@"preferenceManager"];[boxregisterDependency:storageMangeras:@"storageManager"];// And if you invoke...[boxfill:myObject];// ...then the following is true:preferenceManager.storageManager==storageManager;