Hey!, I’m hitting the ```Unable to call non-design...
# kotlin-native
r
Hey!, I’m hitting the
Copy code
Unable to call non-designated initializer as super constructor
Issue. I have a class
Foo
which contains 3 constructors, one with no parameters, other with NSCoder and the last of them accepts a
frame: CValue<CGRect>
Ideally I would like to do
object : Foo()
, but then I hit the build problem so I can fix the issue with subclassing
Copy code
object: Foo(frame = CGRectZero.readValue)
However, the frame that I pass, Foo is trying to use it in a different thread (some Foo implementation details I cannot change) This makes my try of overcoming the constructor build problem not working 😞 Is there any other solution to the build problem?