escoz / QuickDialog

QuickDialog - Quick and easy dialog screens for iOS
http://escoz.com/open-source/quickdialog
Other
3.07k stars 637 forks source link

controllerAction is localized #698

Open ALenfant opened 9 years ago

ALenfant commented 9 years ago

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.