forked from jverkoey/nimbus
/
interface_n_i_toolbar_photo_view_controller.html
306 lines (269 loc) · 20.9 KB
/
interface_n_i_toolbar_photo_view_controller.html
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
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nimbus: NIToolbarPhotoViewController Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24278774-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="page">
<div style="position:relative">
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<a style="float: right;margin-right:20px;margin-top:20px" href='http://www.pledgie.com/campaigns/15519'><img alt='Click here to support Nimbus development and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/15519.png?skin_name=chrome' border='0' /></a>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Nimbus
 <span id="projectnumber">0.6.0 - <a href="http://github.com/jverkoey/nimbus">Nimbus is proudly hosted on Github</a></span>
</div>
<div id="projectbrief">An iOS framework whose growth is bounded by O(documentation).</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4-20110629 -->
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('interface_n_i_toolbar_photo_view_controller.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">NIToolbarPhotoViewController Class Reference<div class="ingroups"><a class="el" href="group___photos-_controllers.html">Photo View Controllers</a></div></div> </div>
</div>
<div class="contents">
<!-- doxytag: class="NIToolbarPhotoViewController" --><!-- doxytag: inherits="UIViewController,NIPhotoAlbumScrollViewDelegate-p,NIPhotoScrubberViewDelegate-p" --><hr/><a name="details" id="details"></a><h2>Overview</h2>
<div class="textblock"><p>A simple photo album view controller implementation with a toolbar. </p>
<p>This controller does not implement the photo album data source, it simply implements some of the most common UI elements that are associated with a photo viewer.</p>
<p>For an example of implementing the data source, see the photos examples in the examples directory.</p>
<h2>Implementing Delegate Methods</h2>
<p>This view controller already implements <a class="el" href="protocol_n_i_photo_album_scroll_view_delegate-p.html" title="The photo album scroll view delegate.">NIPhotoAlbumScrollViewDelegate</a>. If you want to implement methods of this delegate you should take care to call the super implementation if necessary. The following methods have implementations in this class:</p>
<ul>
<li>photoAlbumScrollViewDidScroll:</li>
<li>photoAlbumScrollView:didZoomIn:</li>
<li>photoAlbumScrollViewDidChangePages:</li>
</ul>
<h2>Recommended Configurations</h2>
<h3>Default: Zooming enabled with translucent toolbar</h3>
<p>The default settings are good for showing a photo album that takes up the entire screen. The photos will be visible beneath the toolbar because it is translucent. The chrome will be hidden whenever the user starts interacting with the photos.</p>
<div class="fragment"><pre class="fragment"> <a class="code" href="interface_n_i_toolbar_photo_view_controller.html#a7bd38a82a21e17d2d3014a7d0bb574d4" title="Whether to show the photo album view beneath the toolbar or not.">showPhotoAlbumBeneathToolbar</a> = YES;
<a class="code" href="interface_n_i_toolbar_photo_view_controller.html#aa9ee0c17370b57ce498e7864be1bfc33" title="Whether or not to hide the chrome when the user begins interacting with the photo.">hidesChromeWhenScrolling</a> = YES;
<a class="code" href="interface_n_i_toolbar_photo_view_controller.html#ab71b18ae481b0f9dd225f001e0e631b9" title="Whether or not to allow hiding the chrome.">chromeCanBeHidden</a> = YES;
</pre></div><h3>Zooming disabled with opaque toolbar</h3>
<p>The following settings are good for viewing photo albums when you want to keep the chrome visible at all times without zooming enabled.</p>
<div class="fragment"><pre class="fragment"> <a class="code" href="interface_n_i_toolbar_photo_view_controller.html#a7bd38a82a21e17d2d3014a7d0bb574d4" title="Whether to show the photo album view beneath the toolbar or not.">showPhotoAlbumBeneathToolbar</a> = NO;
<a class="code" href="interface_n_i_toolbar_photo_view_controller.html#ab71b18ae481b0f9dd225f001e0e631b9" title="Whether or not to allow hiding the chrome.">chromeCanBeHidden</a> = NO;
<a class="code" href="interface_n_i_toolbar_photo_view_controller.html#a48147d9bffadafe85dc3e9e769565161" title="The photo album view.">photoAlbumView</a>.<a class="code" href="interface_n_i_photo_album_scroll_view.html#a2990185ef87b7bb83475119e6f6f73fa" title="Whether zooming is enabled or not.">zoomingIsEnabled</a> = NO;
</pre></div>
<p>Definition at line <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html#l00072">72</a> of file <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html">NIToolbarPhotoViewController.h</a>.</p>
</div><div class="dynheader">
Inheritance diagram for NIToolbarPhotoViewController:</div>
<div class="dyncontent">
<div class="center">
<img src="interface_n_i_toolbar_photo_view_controller.png" usemap="#NIToolbarPhotoViewController_map" alt=""/>
<map id="NIToolbarPhotoViewController_map" name="NIToolbarPhotoViewController_map">
<area href="protocol_n_i_photo_album_scroll_view_delegate-p.html" title="The photo album scroll view delegate." alt="<NIPhotoAlbumScrollViewDelegate>" shape="rect" coords="0,0,216,24"/>
<area href="protocol_n_i_photo_scrubber_view_delegate-p.html" title="The delegate for the photo scrubber." alt="<NIPhotoScrubberViewDelegate>" shape="rect" coords="226,0,442,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Configuring Functionality</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BOOL </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#a7bd38a82a21e17d2d3014a7d0bb574d4">showPhotoAlbumBeneathToolbar</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BOOL </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#aa9ee0c17370b57ce498e7864be1bfc33">hidesChromeWhenScrolling</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BOOL </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#ab71b18ae481b0f9dd225f001e0e631b9">chromeCanBeHidden</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BOOL </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#aef2b9930b7397117509201a374c7f28f">animateMovingToNextAndPreviousPhotos</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BOOL </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#a4031bbbd4fcd72e9efde79c2137ff0ef">scrubberIsEnabled</a> <span class="suffix">property</span></td></tr>
<tr><td colspan="2"><div class="groupHeader">Views</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e9dea6df26f101beac8ab6edba27ecd"></a><!-- doxytag: member="NIToolbarPhotoViewController::toolbar" ref="a9e9dea6df26f101beac8ab6edba27ecd" args="" -->
UIToolbar * </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#a9e9dea6df26f101beac8ab6edba27ecd">toolbar</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48147d9bffadafe85dc3e9e769565161"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoAlbumView" ref="a48147d9bffadafe85dc3e9e769565161" args="" -->
<a class="el" href="interface_n_i_photo_album_scroll_view.html">NIPhotoAlbumScrollView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#a48147d9bffadafe85dc3e9e769565161">photoAlbumView</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af44495fae540512b2c68ccdbbdab24e7"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoScrubberView" ref="af44495fae540512b2c68ccdbbdab24e7" args="" -->
<a class="el" href="interface_n_i_photo_scrubber_view.html">NIPhotoScrubberView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#af44495fae540512b2c68ccdbbdab24e7">photoScrubberView</a> <span class="suffix">property</span></td></tr>
<tr><td colspan="2"><div class="groupHeader">Toolbar Buttons</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55e0a510317f26fee796e36692a3ceb6"></a><!-- doxytag: member="NIToolbarPhotoViewController::nextButton" ref="a55e0a510317f26fee796e36692a3ceb6" args="" -->
UIBarButtonItem * </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#a55e0a510317f26fee796e36692a3ceb6">nextButton</a> <span class="suffix">property</span></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a483abaaa360e65d5d2c497c74912e160"></a><!-- doxytag: member="NIToolbarPhotoViewController::previousButton" ref="a483abaaa360e65d5d2c497c74912e160" args="" -->
UIBarButtonItem * </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html#a483abaaa360e65d5d2c497c74912e160">previousButton</a> <span class="suffix">property</span></td></tr>
<tr><td colspan="2"><div class="groupHeader">[NIPhotoAlbumScrollViewDelegate] Scrolling and Zooming</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5fcd4c30753c07f9ea9410cd7fc560fd"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoAlbumScrollViewDidScroll:" ref="a5fcd4c30753c07f9ea9410cd7fc560fd" args="(NIPhotoAlbumScrollView *photoAlbumScrollView)" -->
(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_n_i_photo_album_scroll_view_delegate-p.html#a5fcd4c30753c07f9ea9410cd7fc560fd">photoAlbumScrollViewDidScroll:</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0eef6e4fa181a3df8ab5d6909523d4ab"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoAlbumScrollView:didZoomIn:" ref="a0eef6e4fa181a3df8ab5d6909523d4ab" args="(NIPhotoAlbumScrollView *photoAlbumScrollView,[didZoomIn] BOOL didZoomIn)" -->
(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_n_i_photo_album_scroll_view_delegate-p.html#a0eef6e4fa181a3df8ab5d6909523d4ab">photoAlbumScrollView:didZoomIn:</a></td></tr>
<tr><td colspan="2"><div class="groupHeader">[NIPhotoAlbumScrollViewDelegate] Changing Pages</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_n_i_photo_album_scroll_view_delegate-p.html#af4852dedcacd71213d41c3c063842882">photoAlbumScrollViewDidChangePages:</a></td></tr>
<tr><td colspan="2"><div class="groupHeader">[NIPhotoAlbumScrollViewDelegate] Data Availability</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32117b185be7beba7883340439dea650"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoAlbumScrollViewDidLoadNextPhoto:" ref="a32117b185be7beba7883340439dea650" args="(NIPhotoAlbumScrollView *photoAlbumScrollView)" -->
(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_n_i_photo_album_scroll_view_delegate-p.html#a32117b185be7beba7883340439dea650">photoAlbumScrollViewDidLoadNextPhoto:</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8bb24277692638ee8c113b1a25a6705e"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoAlbumScrollViewDidLoadPreviousPhoto:" ref="a8bb24277692638ee8c113b1a25a6705e" args="(NIPhotoAlbumScrollView *photoAlbumScrollView)" -->
(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_n_i_photo_album_scroll_view_delegate-p.html#a8bb24277692638ee8c113b1a25a6705e">photoAlbumScrollViewDidLoadPreviousPhoto:</a></td></tr>
<tr><td colspan="2"><div class="groupHeader">Selection Changes</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_n_i_photo_scrubber_view_delegate-p.html#a57c268be8d7a941087d978e6307c59d6">photoScrubberViewDidChangeSelection:</a></td></tr>
</table>
<hr/><h2>Method Documentation</h2>
<a class="anchor" id="a7bd38a82a21e17d2d3014a7d0bb574d4"></a><!-- doxytag: member="NIToolbarPhotoViewController::showPhotoAlbumBeneathToolbar" ref="a7bd38a82a21e17d2d3014a7d0bb574d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (BOOL) showPhotoAlbumBeneathToolbar<code> [read, write, assign]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether to show the photo album view beneath the toolbar or not. </p>
<p>If this is enabled, the toolbar will be translucent and the photo view will take up the entire view controller's bounds with the toolbar shown on top.</p>
<p>If this is disabled, the photo will only occupy the remaining space above the toolbar.</p>
<p>By default this is YES. </p>
<p>Definition at line <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html#l00114">114</a> of file <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html">NIToolbarPhotoViewController.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa9ee0c17370b57ce498e7864be1bfc33"></a><!-- doxytag: member="NIToolbarPhotoViewController::hidesChromeWhenScrolling" ref="aa9ee0c17370b57ce498e7864be1bfc33" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (BOOL) hidesChromeWhenScrolling<code> [read, write, assign]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether or not to hide the chrome when the user begins interacting with the photo. </p>
<p>If this is enabled, then the chrome will be hidden when the user starts swiping from one photo to another.</p>
<p>The chrome is the toolbar and the system status bar.</p>
<p>By default this is YES.</p>
<dl class="attention"><dt><b>Attention:</b></dt><dd>This will be set to NO if toolbarCanBeHidden is set to NO. </dd></dl>
<p>Definition at line <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html#l00128">128</a> of file <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html">NIToolbarPhotoViewController.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab71b18ae481b0f9dd225f001e0e631b9"></a><!-- doxytag: member="NIToolbarPhotoViewController::chromeCanBeHidden" ref="ab71b18ae481b0f9dd225f001e0e631b9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (BOOL) chromeCanBeHidden<code> [read, write, assign]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether or not to allow hiding the chrome. </p>
<p>If this is enabled then the user will be able to single-tap to dismiss or show the toolbar.</p>
<p>The chrome is the toolbar and the system status bar.</p>
<p>If this is disabled then the chrome will always be visible.</p>
<p>By default this is YES.</p>
<dl class="attention"><dt><b>Attention:</b></dt><dd>Setting this to NO will also disable hidesToolbarWhenScrolling. </dd></dl>
<p>Definition at line <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html#l00144">144</a> of file <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html">NIToolbarPhotoViewController.h</a>.</p>
</div>
</div>
<a class="anchor" id="aef2b9930b7397117509201a374c7f28f"></a><!-- doxytag: member="NIToolbarPhotoViewController::animateMovingToNextAndPreviousPhotos" ref="aef2b9930b7397117509201a374c7f28f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (BOOL) animateMovingToNextAndPreviousPhotos<code> [read, write, assign]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether to animate moving to a next or previous photo when the user taps the button. </p>
<p>By default this is NO. </p>
<p>Definition at line <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html#l00151">151</a> of file <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html">NIToolbarPhotoViewController.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4031bbbd4fcd72e9efde79c2137ff0ef"></a><!-- doxytag: member="NIToolbarPhotoViewController::scrubberIsEnabled" ref="a4031bbbd4fcd72e9efde79c2137ff0ef" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (BOOL) scrubberIsEnabled<code> [read, write, assign]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether to show a scrubber in the toolbar instead of next/previous buttons. </p>
<p>By default this is YES on the iPad and NO on the iPhone. </p>
<p>Definition at line <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html#l00158">158</a> of file <a class="el" href="_n_i_toolbar_photo_view_controller_8h_source.html">NIToolbarPhotoViewController.h</a>.</p>
</div>
</div>
<a class="anchor" id="af4852dedcacd71213d41c3c063842882"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoAlbumScrollViewDidChangePages:" ref="af4852dedcacd71213d41c3c063842882" args="(NIPhotoAlbumScrollView *photoAlbumScrollView)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (void) photoAlbumScrollViewDidChangePages: </td>
<td></td>
<td class="paramtype">(<a class="el" href="interface_n_i_photo_album_scroll_view.html">NIPhotoAlbumScrollView</a> *) </td>
<td class="paramname"><em>photoAlbumScrollView</em></td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The current page has changed. </p>
<p>photoAlbumScrollView.currentCenterPhotoIndex will reflect the changed photo index. </p>
</div>
</div>
<a class="anchor" id="a57c268be8d7a941087d978e6307c59d6"></a><!-- doxytag: member="NIToolbarPhotoViewController::photoScrubberViewDidChangeSelection:" ref="a57c268be8d7a941087d978e6307c59d6" args="(NIPhotoScrubberView *photoScrubberView)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (void) photoScrubberViewDidChangeSelection: </td>
<td></td>
<td class="paramtype">(<a class="el" href="interface_n_i_photo_scrubber_view.html">NIPhotoScrubberView</a> *) </td>
<td class="paramname"><em>photoScrubberView</em></td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The photo scrubber changed its selection. </p>
<p>Use photoScrubberView.selectedPhotoIndex to access the current selection. </p>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="interface_n_i_toolbar_photo_view_controller.html">NIToolbarPhotoViewController</a> </li>
</div><!-- .fixedwidth -->
<span class="footer">Generated for Nimbus by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4-20110629 </span>
</ul>
</div>
</div> <!-- page -->
</body>
</html>