Deprecated NSControl Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.0

setFloatingPointFormat:left:right:

Sets the auto-ranging and floating point number format of the receiver’s cell. (Deprecated in OS X v10.0.)

- (void)setFloatingPointFormat:(BOOL)autoRange left:(NSUInteger)leftDigits right:(NSUInteger)rightDigits
Parameters
autoRange

YES to enable auto-ranging; otherwise, NO.

leftDigits

The number of digits to display to the left of the decimal point.

rightDigits

The number of digits to display to the right of the decimal point.

Discussion

For more information about auto-ranging and how it works, see the description of this method in the NSCell class specification. If the cell is being edited, the current edits are discarded and the cell’s interior is redrawn.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.0.
Declared In
NSControl.h