<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html>
<head>
<title>TruePreviewPreferenceValueTransformer
</title>
<meta http-equiv="Content-Type" content="text/html; charset=ascii">
<meta name="generator" content="HeaderDoc">
<meta name="xcode-display" content="render">
<style><!--
#tocMenu {
display: block;
position:fixed;
top:0px;
left:0px;
width:210px;
height:100%;
background:transparent;
}
#bodyText {
margin-left: 210px;
}
--></style>
<script language="JavaScript" type="text/javascript"><!--
function hidetoc() {
var origURL = parent.document.URL;
var contentURL = origURL.substring(origURL.indexOf('?')+1, origURL.length);
if (contentURL.length == origURL.length) {
jumpPos = origURL.substring(origURL.indexOf('#')+1, origURL.length);
}
if (contentURL == "hidetoc") {
var toc = document.getElementById('tocMenu');
var body = document.getElementById('bodyText');
if (toc && body) {
toc.style.display = 'none';
body.style.marginLeft = '0px';
}
}
}
--></script><style type="text/css"><!--.keyword {background:#ffffff; color:#761550;}.template {background:#ffffff; color:#761550;}.number {background: #ffffff; color:#0000ff;}.function {background:#ffffff; color:#000000;}.string {background: #ffffff; color:#891315;}.preprocessor {background:#ffffff; color:#236e25}.comment {background:#ffffff; color:#236e25}.char {background: #ffffff; color:#0000ff;}.var {background:#ffffff; color:#000000;}.type {background:#ffffff; color:#761550;}.param {background:#ffffff; color:#000000;}a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}.list_indent { margin-left: 40px; }.declaration_indent { margin-left: 40px; }.param_indent { margin-left: 40px; }.group_indent { margin-left: 40px; }.group_desc_indent { margin-left: 20px; }.warning_indent { margin-left: 40px; }.important_indent { margin-left: 40px; }.hd_tocAccess { font-style: italic; font-size: 10px; font-weight: normal; color: #303030; }--></style>
</head>
<body bgcolor="#ffffff" onload="hidetoc();">
<!-- headerDoc=cl; uid=//apple_ref/occ/cl/TruePreviewPreferenceValueTransformer; name=TruePreviewPreferenceValueTransformer-->
<a name="//apple_ref/occ/cl/TruePreviewPreferenceValueTransformer"></a><div id="tocMenu">
<iframe id="toc_content" name="toc_content" src="toc.html" width="210" height="100%" align="left" frameborder="0">This document set is best viewed in a browser that supports iFrames.
</iframe>
</div>
<div id="bodyText">
<a name="top"></a>
<hr>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
<h1><a name="TruePreviewPreferenceValueTransformer">TruePreviewPreferenceValueTransformer
</a></h1>
</td></tr></table>
<hr>
<p><b>Version:
</b> @(#) $Id: TruePreviewPreferencesModule.h 2 2009-06-27 07:02:45Z jhriggs $
<br><b>Superclass:
</b> <!-- a logicalPath="//apple_ref/occ/cl/NSValueTransformer" -->NSValueTransformer
<!-- /a --><br><b>Declared In:
</b> <a href="../../index.html" target="_top">TruePreviewPreferenceValueTransformer.h
</a><br></p>
<div class="declaration_indent">
</div>
<h5 class="tight">
<font face="Lucida Grande,Helvetica,Arial">Discussion
</font>
</h5>
<!-- begin discussion --><p>The
<code>TruePreviewPreferenceValueTransformer
</code> class is the subclass
of
<code>NSValueTransformer
</code> that selects the correct radio button in
the TruePreview preferences panel.
<!-- end discussion -->
</p>
<p></p>
<hr>
<br><a name="HeaderDoc_groups"><h2>Groups
</h2></a>
<h3>NSValueTransformer instance methods
</h3>
<div class="group_desc_indent">
<p></p>
<p></p>
</div>
<h4>Group members:
</h4>
<div class="group_indent">
<dl>
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferenceValueTransformer/transformedValue:" logicalPath="//apple_ref/occ/instm/TruePreviewPreferenceValueTransformer/transformedValue:" target="_top">-transformedValue:
</a></tt></dt>
<dd></dd>
</dl>
</div>
<p> </p>
<h3>NSValueTransformer class methods
</h3>
<div class="group_desc_indent">
<p></p>
<p></p>
</div>
<h4>Group members:
</h4>
<div class="group_indent">
<dl>
<dt><tt><a href="index.html#//apple_ref/occ/clm/TruePreviewPreferenceValueTransformer/transformedValueClass" logicalPath="//apple_ref/occ/clm/TruePreviewPreferenceValueTransformer/transformedValueClass" target="_top">+transformedValueClass
</a></tt></dt>
<dd></dd>
</dl>
</div>
<hr>
<a name="HeaderDoc_methods"></a>
<h2>Methods
</h2>
<dl>
<dt><tt><a href="index.html#//apple_ref/occ/clm/TruePreviewPreferenceValueTransformer/transformedValueClass" target="_top">+transformedValueClass
</a></tt></dt>
<dd></dd>
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferenceValueTransformer/transformedValue:" target="_top">-transformedValue:
</a></tt></dt>
<dd></dd>
</dl>
<hr>
<!-- headerDoc=clm; uid=//apple_ref/occ/clm/TruePreviewPreferenceValueTransformer/transformedValueClass; name=TruePreviewPreferenceValueTransformer::transformedValueClass --><a name="//apple_ref/occ/clm/TruePreviewPreferenceValueTransformer/transformedValueClass"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
<h3><a name="transformedValueClass">transformedValueClass
</a></h3>
</td></tr></table>
<hr>
<p></p>
<div class="declaration_indent">
<pre>+ (
<!-- a logicalPath="//apple_ref/occ/cl/Class //apple_ref/occ/tdef/Class //apple_ref/occ/tag/Class //apple_ref/occ/econst/Class //apple_ref/occ/struct/Class //apple_ref/occ/clconst/Class //apple_ref/occ/intf/Class" --><span class="type">Class
</span><!-- /a -->)
<!-- a logicalPath="//apple_ref/occ/econst/transformedValueClass //apple_ref/occ/data/transformedValueClass" --><span class="var">transformedValueClass
</span><!-- /a -->;
</pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Return Value
</font></h5>
<p><!-- begin return value --><code>[NSNumber class]
</code>.
<!-- end return value --></p>
<h5 class="tight">
<font face="Lucida Grande,Helvetica,Arial">Discussion
</font>
</h5>
<!-- begin discussion --><p>Returns the class of transformed values for this value transformer
(NSNumber).
<!-- end discussion -->
</p>
<p></p>
<hr>
<!-- headerDoc=instm; uid=//apple_ref/occ/instm/TruePreviewPreferenceValueTransformer/transformedValue:; name=TruePreviewPreferenceValueTransformer::transformedValue: --><a name="//apple_ref/occ/instm/TruePreviewPreferenceValueTransformer/transformedValue:"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
<h3><a name="transformedValue:">transformedValue:
</a></h3>
</td></tr></table>
<hr>
<p></p>
<div class="declaration_indent">
<pre>- (
<!-- a logicalPath="//apple_ref/occ/cl/id //apple_ref/occ/tdef/id //apple_ref/occ/tag/id //apple_ref/occ/econst/id //apple_ref/occ/struct/id //apple_ref/occ/clconst/id //apple_ref/occ/intf/id" --><span class="type">id
</span><!-- /a -->)
<!-- a logicalPath="//apple_ref/occ/instm/transformedValue //apple_ref/occ/clm/transformedValue //apple_ref/occ/intfcm/transformedValue //apple_ref/occ/intfm/transformedValue //apple_ref/occ/func/transformedValue //apple_ref/occ/ftmplt/transformedValue //apple_ref/occ/defn/transformedValue //apple_ref/occ/macro/transformedValue" --><span class="function">transformedValue
</span><!-- /a -->:(
<!-- a logicalPath="//apple_ref/occ/cl/id //apple_ref/occ/tdef/id //apple_ref/occ/tag/id //apple_ref/occ/econst/id //apple_ref/occ/struct/id //apple_ref/occ/clconst/id //apple_ref/occ/intf/id" --><span class="type">id
</span><!-- /a -->)
<!-- a logicalPath="//apple_ref/occ/econst/inValue //apple_ref/occ/data/inValue" --><span class="var">inValue
</span><!-- /a -->;
</pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters
</font></h5>
<div class="param_indent">
<dl>
<dt><code>inValue
</code></dt>
<dd><p>The value being transformed.
</p></dd>
</dl>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Return Value
</font></h5>
<p><!-- begin return value -->An
<code>NSNumber
</code> containing the transformed value.
<!-- end return value --></p>
<h5 class="tight">
<font face="Lucida Grande,Helvetica,Arial">Discussion
</font>
</h5>
<!-- begin discussion --><p>Returns an
<code>NSNumber
</code> equivalent to the provided value if the
value is
<code>TRUEPREVIEW_DELAY_IMMEDIATE
</code>,
<code>TRUEPREVIEW_DELAY_DEFAULT
</code>,
<code>TRUEPREVIEW_DELAY_NEVER
</code>, or
> 0 to
<code>TRUEPREVIEW_DELAY_MAX
</code>; otherwise,
<code>TRUEPREVIEW_DELAY_DEFAULT
</code> is returned.
<!-- end discussion -->
</p>
<p></p>
<p>Last Updated: Friday, October 09, 2009
</p>
</div>
</body>
</html>