iOS plugin BOOL<->bool conversion