The QElement controllerAction property's value is localized when loading it from JSON, which causes issues when the flag NSShowNonLocalizedStrings is set to YES (it capitalizes the method's name, for instance clicked: becomes CLICKED:).
It seems that in QRootBuilder's method + (void)trySetProperty:(NSString *)propertyName onObject:(id)target withValue:(id)value localized:(BOOL)shouldLocalize, the value for shouldLocalize should be false when propertyName is equal to controllerAction.
The QElement
controllerAction
property's value is localized when loading it from JSON, which causes issues when the flagNSShowNonLocalizedStrings
is set toYES
(it capitalizes the method's name, for instanceclicked:
becomesCLICKED:
).It seems that in
QRootBuilder
's method+ (void)trySetProperty:(NSString *)propertyName onObject:(id)target withValue:(id)value localized:(BOOL)shouldLocalize
, the value forshouldLocalize
should befalse
whenpropertyName
is equal tocontrollerAction
.