So I was thinking about a custom pattern in my project, but I can\'t get it to work. The main idea is to change the typealias on every subclass to get access to the
typealias
Would something like this work for your purposes?
class MyClass { } class MySubclass1: MyClass { } class MySubclass2: MyClass { }