TruePreviewPreferenceValueTransformer


Version: @(#) $Id: TruePreviewPreferencesModule.h 2 2009-06-27 07:02:45Z jhriggs $
Superclass: NSValueTransformer
Declared In: TruePreviewPreferenceValueTransformer.h

Discussion

The TruePreviewPreferenceValueTransformer class is the subclass of NSValueTransformer that selects the correct radio button in the TruePreview preferences panel.



Groups

NSValueTransformer instance methods

Group members:

-transformedValue:

 

NSValueTransformer class methods

Group members:

+transformedValueClass

Methods

+transformedValueClass
-transformedValue:

transformedValueClass


+ (Class)transformedValueClass; 
Return Value

[NSNumber class].

Discussion

Returns the class of transformed values for this value transformer (NSNumber).


transformedValue:


- (id)transformedValue:(id)inValue; 
Parameters
inValue

The value being transformed.

Return Value

An NSNumber containing the transformed value.

Discussion

Returns an NSNumber equivalent to the provided value if the value is TRUEPREVIEW_DELAY_IMMEDIATE, TRUEPREVIEW_DELAY_DEFAULT, TRUEPREVIEW_DELAY_NEVER, or > 0 to TRUEPREVIEW_DELAY_MAX; otherwise, TRUEPREVIEW_DELAY_DEFAULT is returned.

Last Updated: Friday, October 09, 2009