Parameter labels (what you have at the left of the ":" when the method has more that one param) are optional but not compulsory in Objective-C.
They give problems when they appear in the interface that will be wrapped with B4I
A way to get rid of this error is not to use labels, so your declarations would be this way:
(untested)
header file:
@interface iRangeBar : B4IViewWrapper <B4IDesignerCustomView>
- (void)DesignerCreateView:(B4IPanelWrapper *)base :(B4ILabelWrapper *)lw :(B4IMap *)props;
- (void)setMinMaxValue:(double)minValue :(double)maxValue; // <-- Here, we have removed the 'maxValue' label for the 2nd param
- (void)setLeftValue:(double)leftValue :(double)rightValue; // <-- Same as above. Here, we have removed the 'rightValue' label for the 2nd param
- (void)setMinimumDistance:(double)minimumDistance;
iRangeBar.m:
- (void)setMinMaxValue:(double)minValue :(double)maxValue{ // <-- Here, we have removed the 'maxValue' label for the 2nd param
[OBJ setMinValue:minValue maxValue:maxValue]; // <-- No need to strip it here if it is an internal method that is not exposed to B4I
}
- (void)setLeftValue:(double)leftValue :(double)rightValue{ // <-- Same as above. Here, we have removed the 'rightValue' label for the 2nd param
[OBJ setLeftValue:leftValue rightValue:rightValue]; //<-- Same as above. No need to strip here if it is an internal method not exposed to B4I
}
- (void)setMinimumDistance:(double)minimumDistance{ //<-- No changes here
[OBJ setMinimumDistance:minimumDistance];
}
It doesn't happen with 'setMinimumDistance' method because it only has one parameter, so there is no 'label'