Skip to content

Manual Instantiation

Jasper Blues edited this page Jun 9, 2015 · 4 revisions

##Manual Instantiation (cmd-line apps, librarires, tests, etc).

Manual instantiation can be used anywhere a Typhoon assembly is required.

MiddleAgesAssembly *mainAssembly = [[MiddleAgesAssembly new] 
    activateWithCollaboratingAssemblies:@[
      [QuestsAssembly new]
    ]];
Knight* knight = [mainAssembly basicKnight];