Source

cappuccino-docs / cappuccino docs / cappuccino.org / learn / documentation / class_c_p_view_controller.html

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<!-- Mirrored from cappuccino.org/learn/documentation/class_c_p_view_controller.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:18:29 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Cappuccino API: CPViewController Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>CPViewController Class Reference</h1><!-- doxytag: class="CPViewController" -->
<p><a href="class_c_p_view_controller-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="class_c_p_string.html">CPString</a> _cibName)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a922cd8b7452ff84de901a042ebbb019c">accessors</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id _representedObject)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a2527765c1c7ab711537a963affa5c4e9">accessors</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a6be336db09178b383b57292de7c1f099">encodeWithCoder:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a366642ae81a84e9ec74e816fd8cb458d">init</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a4be02931ef6769615627ee8b163f49e7">initWithCibName:bundle:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#ac0ddee962917594f09100015d6a22350">initWithCibName:bundle:externalNameTable:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a4b3af7cb5a1336b0c228f3fbd8203afa">initWithCibName:bundle:owner:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a84b89a0e8f911d1edaf61b3ff5c7d3d9">initWithCoder:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a99475e015009d7c3374f6021091bcefd">loadView</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a9ad4607b6436d50bd6bf39eef8f57df6">setView:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="class_c_p_view.html">CPView</a>)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#ad08c4480387f1f8c76913be1aba84c43">view</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_view_controller.html#a9c9a07587a331ae2dd74122fff73fff7">viewDidLoad</a><code> [implementation]</code></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="class_c_p_view_controller.html#a5413c57d434971f863a6c62fcc59e2f7">initialize</a><code> [implementation]</code></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <a class="el" href="class_c_p_view_controller.html">CPViewController</a> class provides the fundamental view-management controller for Cappuccino applications. The basic view controller class supports the presentation of an associated view in addition to basic support for managing modal views and, in the future, animations. Subclasses such as CPNavigationController and CPTabBarController provide additional behavior for managing complex hierarchies of view controllers and views.</p>
<p>You use each instance of <a class="el" href="class_c_p_view_controller.html">CPViewController</a> to manage a single view (and hierarchy). For a simple view controller, this entails managing the view hierarchy responsible for presenting your application content. A typical view hierarchy consists of a root viewŃa reference to which is available in the view property of this classŃ and one or more subviews presenting the actual content. In the case of navigation and tab bar controllers, the view controller manages not only the high-level view hierarchy (which provides the navigation controls) but also one or more additional view controllers that handle the presentation of the application content.</p>
<p>Unlike UIViewController in Cocoa Touch, a <a class="el" href="class_c_p_view_controller.html">CPViewController</a> does not represent an entire screen of content. You will add your root view to an existing view or window's content view. You can manage many view controllers on screen at once. <a class="el" href="class_c_p_view_controller.html">CPViewController</a> is also the preferred way of working with Cibs.</p>
<p>Subclasses can override -loadView to create their custom view hierarchy, or specify a cib name to be loaded automatically. It has methods that are called when a view appears or disappears. This class is also a good place for delegate &amp; datasource methods, and other controller stuff. </p>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00048">48</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a922cd8b7452ff84de901a042ebbb019c"></a><!-- doxytag: member="CPViewController::accessors" ref="a922cd8b7452ff84de901a042ebbb019c" args="(property=cibName, readonly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="class_c_p_dictionary.html">CPDictionary</a> _cibExternalNameTable) accessors </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="_c_p_tree_node_8j.html#af2b8102aeac8f02ab62ac42828289569">property</a>)&nbsp;</td>
          <td class="paramname"> = <code>cibName</code></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">(readonly)&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td><td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2527765c1c7ab711537a963affa5c4e9"></a><!-- doxytag: member="CPViewController::accessors" ref="a2527765c1c7ab711537a963affa5c4e9" args="(property=representedObject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="class_c_p_string.html">CPString</a> _title) accessors </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="_c_p_tree_node_8j.html#af2b8102aeac8f02ab62ac42828289569">property</a>)&nbsp;</td>
          <td class="paramname"> = <code>representedObject</code></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6be336db09178b383b57292de7c1f099"></a><!-- doxytag: member="CPViewController::encodeWithCoder:" ref="a6be336db09178b383b57292de7c1f099" args="(CPCoder aCoder)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) encodeWithCoder: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_coder.html">CPCoder</a>)&nbsp;</td>
          <td class="paramname"> <em>aCoder</em></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Archives the view controller to the provided coder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aCoder</em>&nbsp;</td><td>the coder to which the view controller should be archived </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00233">233</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a366642ae81a84e9ec74e816fd8cb458d"></a><!-- doxytag: member="CPViewController::init" ref="a366642ae81a84e9ec74e816fd8cb458d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) init </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convenience initializer calls -initWithCibName:bundle: with nil for both parameters. </p>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00069">69</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a5413c57d434971f863a6c62fcc59e2f7"></a><!-- doxytag: member="CPViewController::initialize" ref="a5413c57d434971f863a6c62fcc59e2f7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (void) initialize </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00060">60</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a4be02931ef6769615627ee8b163f49e7"></a><!-- doxytag: member="CPViewController::initWithCibName:bundle:" ref="a4be02931ef6769615627ee8b163f49e7" args="(CPString aCibNameOrNil,[bundle] CPBundle aCibBundleOrNil)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithCibName: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_string.html">CPString</a>)&nbsp;</td>
          <td class="paramname"> <em>aCibNameOrNil</em></td>
        </tr>
        <tr>
          <td class="paramkey">bundle:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_bundle.html">CPBundle</a>)&nbsp;</td>
          <td class="paramname"> <em>aCibBundleOrNil</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td><td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00074">74</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="ac0ddee962917594f09100015d6a22350"></a><!-- doxytag: member="CPViewController::initWithCibName:bundle:externalNameTable:" ref="ac0ddee962917594f09100015d6a22350" args="(CPString aCibNameOrNil,[bundle] CPBundle aCibBundleOrNil,[externalNameTable] CPDictionary anExternalNameTable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithCibName: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_string.html">CPString</a>)&nbsp;</td>
          <td class="paramname"> <em>aCibNameOrNil</em></td>
        </tr>
        <tr>
          <td class="paramkey">bundle:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_bundle.html">CPBundle</a>)&nbsp;</td>
          <td class="paramname"> <em>aCibBundleOrNil</em></td>
        </tr>
        <tr>
          <td class="paramkey">externalNameTable:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_dictionary.html">CPDictionary</a>)&nbsp;</td>
          <td class="paramname"> <em>anExternalNameTable</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td><td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The designated initializer. If you subclass <a class="el" href="class_c_p_view_controller.html">CPViewController</a>, you must call the super implementation of this method, even if you aren't using a Cib. In the specified Cib, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you pass in a nil Cib name, then you must either call -setView: before -view is invoked, or override -loadView to set up your views.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cibNameOrNil</em>&nbsp;</td><td>The path to the cib to load for the root view or nil to programmatically create views. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cibBundleOrNil</em>&nbsp;</td><td>The bundle that the cib is located in or nil for the main bundle. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00092">92</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a4b3af7cb5a1336b0c228f3fbd8203afa"></a><!-- doxytag: member="CPViewController::initWithCibName:bundle:owner:" ref="a4b3af7cb5a1336b0c228f3fbd8203afa" args="(CPString aCibNameOrNil,[bundle] CPBundle aCibBundleOrNil,[owner] id anOwner)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithCibName: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_string.html">CPString</a>)&nbsp;</td>
          <td class="paramname"> <em>aCibNameOrNil</em></td>
        </tr>
        <tr>
          <td class="paramkey">bundle:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_bundle.html">CPBundle</a>)&nbsp;</td>
          <td class="paramname"> <em>aCibBundleOrNil</em></td>
        </tr>
        <tr>
          <td class="paramkey">owner:</td>
          <td></td>
          <td class="paramtype">(id)&nbsp;</td>
          <td class="paramname"> <em>anOwner</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td><td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00079">79</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a84b89a0e8f911d1edaf61b3ff5c7d3d9"></a><!-- doxytag: member="CPViewController::initWithCoder:" ref="a84b89a0e8f911d1edaf61b3ff5c7d3d9" args="(CPCoder aCoder)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithCoder: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_coder.html">CPCoder</a>)&nbsp;</td>
          <td class="paramname"> <em>aCoder</em></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes the view controller by unarchiving data from a coder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aCoder</em>&nbsp;</td><td>the coder from which the data will be unarchived </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the initialized view controller </dd></dl>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00210">210</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a99475e015009d7c3374f6021091bcefd"></a><!-- doxytag: member="CPViewController::loadView" ref="a99475e015009d7c3374f6021091bcefd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) loadView </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Programmatically creates the view that the controller manages. You should never call this method directly. The view controller calls this method when the view property is requested but is nil.</p>
<p>If you create your views manually, you must override this method and use it to create your view and assign it to the view property. The default implementation for programmatic views is to create a plain view. You can invoke super to utilize this view.</p>
<p>If you use Interface Builder to create your views and initialize the view controllerŃthat is, you initialize the view using the initWithCibName:bundle: methodŃthen you must not override this method. The consequences risk shattering the space-time continuum.</p>
<p>Note: The cib loading system is currently asynchronous. </p>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00119">119</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a9ad4607b6436d50bd6bf39eef8f57df6"></a><!-- doxytag: member="CPViewController::setView:" ref="a9ad4607b6436d50bd6bf39eef8f57df6" args="(CPView aView)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setView: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="class_c_p_view.html">CPView</a>)&nbsp;</td>
          <td class="paramname"> <em>aView</em></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Manually sets the view that the controller manages. Setting to nil will cause -loadView to be called on all subsequent calls of -view.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aView</em>&nbsp;</td><td>The view this controller should represent. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00190">190</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="ad08c4480387f1f8c76913be1aba84c43"></a><!-- doxytag: member="CPViewController::view" ref="ad08c4480387f1f8c76913be1aba84c43" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="class_c_p_view.html">CPView</a>) view </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the view that the controller manages. If this property is nil, the controller sends loadView to itself to create the view that it manages. Subclasses should override the loadView method to create any custom views. The default value is nil. </p>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00142">142</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<a class="anchor" id="a9c9a07587a331ae2dd74122fff73fff7"></a><!-- doxytag: member="CPViewController::viewDidLoad" ref="a9c9a07587a331ae2dd74122fff73fff7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) viewDidLoad </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method is called after the view controller has loaded its associated views into memory. This method is called regardless of whether the views were stored in a nib file or created programmatically in the loadView method. This method is most commonly used to perform additional initialization steps on views that are loaded from nib files. </p>

<p>Definition at line <a class="el" href="_c_p_view_controller_8j_source.html#l00178">178</a> of file <a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>AppKit/<a class="el" href="_c_p_view_controller_8j_source.html">CPViewController.j</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Apr 6 10:33:07 2010 for Cappuccino API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>

<!-- Mirrored from cappuccino.org/learn/documentation/class_c_p_view_controller.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:18:29 GMT -->
</html>