Deprecated NSControl Methods

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

Deprecated in Mac OS X v10.0

setFloatingPointFormat:left:right:

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

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

Parameters
autoRange

YES to enable autoranging; 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 autoranging 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.

Note: This method is being deprecated in favor of a new class of formatter objects. For more information, see NSFormatter. This documentation is provided only for developers who need to modify older applications.

Availability
See Also
Declared In
NSControl.h


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-06-18)