Closed akitchen closed 9 years ago
I believe this is difficult or impossible to achieve because designated initializer information is not made available at runtime, as far as I know.
OTOH it may be a reasonable heuristic that if a given class declares one or more initializers that are not present in its superclass, then we could assume that a +bsInitializer
should be provided and throw an exception if that isn't the case?
In the case where a class has a required/designated instance initializer, and the developer hasn't yet provided a BSInitializer, Blindside should raise an appropriate exception with helpful recovery info (e.g. instructions to override +BSInitializer)