Using Type Erasure to Build a Dependency Injecting Routing Framework in Swift - SwiftRocks
swiftrocks.comWith Swift being a very type-safe and namespaced language, you'll find that certain tasks are really hard to complete if at some point you can't determine the types that are being handled . Using an automatic dependency injector as an example, let's see how generic arguments can be "erased".
Read more...