This question led me to uncover this issue.
If I have two initializers with the same signature in the same class in different modules, how can I specify which one I want to call? To use the same example as in that question, say I declare a convenience initializer like this:
extension UIStoryboard {
convenience init(name: String, bundle: NSBundle?) {
// ... do custom things ...
// This line causes infinite recursion. (How) Can I specify which
// initializer I want to call?
self.init(name: name, bundle: bundle)
}
}
I assume this would also be an issue with two extensions that add methods with the same signature to the same class.
Is there a way to resolve that issue? Or is this just a bug?