You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when using the pure-JS extend method, you have ability to specify the name of the Obj-C class that will be created. For the TS extend version this is limited and the current logic always pulls the name of the constructor function. This creates problems when uglify/mangling is used and currently all such classes are excluded from mangling here.
Two possible solutions:
Have a static property (ObjCClassName) that will be used, if present, as the name of the native class.
Evaluate and use the name property of the JS class. Although this is readonly it can be overridden with Object.defineProperty(Foo, "name", { value: "Bar" })