static function __init__() { trace("X"); } in a class doesn't work.
A way of doing this would be to generate the init function as-is, and then call init for all classes which have it before the UIApplicationMain() in main.m. Ordering would still need to be figured out, based on which class refers to which class's properties in its static initializer.
static function __init__() { trace("X"); }in a class doesn't work.A way of doing this would be to generate the init function as-is, and then call init for all classes which have it before the
UIApplicationMain()inmain.m. Ordering would still need to be figured out, based on which class refers to which class's properties in its static initializer.