moved Classes out of the demo application

This commit is contained in:
Jeena Paradies 2009-11-14 20:51:10 +01:00
parent c4b4108b8b
commit c70793d1f2
18 changed files with 2342 additions and 0 deletions

View file

@ -0,0 +1,136 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
<title>JPImagePickerControllerDataSource</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();">
</div>
<!-- headerDoc=intf; uid=//apple_ref/occ/intf/JPImagePickerControllerDataSource; name=JPImagePickerControllerDataSource-->
<a name="//apple_ref/occ/intf/JPImagePickerControllerDataSource"></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="JPImagePickerControllerDataSource">JPImagePickerControllerDataSource</a></h1>
</td></tr></table><hr><p><!-- begin abstract --><p>The data source protocol for JPImagePickerController
<!-- end abstract --></p>
<p><b>Extends&nbsp;Protocol:</b> <!-- a logicalPath="//apple_ref/occ/intf/NSObject" -->NSObject<!-- /a --><br>
<b>Declared In:</b> <a href="../../index.html" target="_top">JPImagePickerController.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 JPImagePickerController asks this data source for all
data which it wants to display.
<!-- end discussion -->
<p></p><hr><br><a name="HeaderDoc_methods"></a>
<h2>Methods</h2>
<dl>
<dt><tt><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:imageForImageNumber:" target="_top">-imagePicker:imageForImageNumber:</a></tt></dt>
<dd><p>Asks the data source for a image to show in a preview.
</dd>
<dt><tt><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:thumbnailForImageNumber:" target="_top">-imagePicker:thumbnailForImageNumber:</a></tt></dt>
<dd><p>Asks the data source for a thumbnail to insert in a particular location
the image picker.
</dd>
<dt><tt><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDataSource/numberOfImagesInImagePicker:" target="_top">-numberOfImagesInImagePicker:</a></tt></dt>
<dd><p>Should return the number of images.
</dd>
</dl>
<hr><!-- headerDoc=intfm; uid=//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:imageForImageNumber:; name=JPImagePickerControllerDataSource::imagePicker:imageForImageNumber: -->
<a name="//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:imageForImageNumber:"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="imagePicker:imageForImageNumber:">imagePicker:imageForImageNumber:</a></h3>
</td></tr></table><hr><p><!-- begin abstract --><p>Asks the data source for a image to show in a preview.
<!-- end abstract --></p>
<p></p><div class='declaration_indent'>
<pre>- (<!-- a logicalPath="//apple_ref/occ/cl/UIImage //apple_ref/occ/tdef/UIImage //apple_ref/occ/tag/UIImage //apple_ref/occ/econst/UIImage //apple_ref/occ/struct/UIImage //apple_ref/occ/clconst/UIImage //apple_ref/occ/intf/UIImage" --><span class="type">UIImage</span><!-- /a --> <span class="type">*</span>)<!-- a logicalPath="//apple_ref/occ/instm/imagePicker //apple_ref/occ/clm/imagePicker //apple_ref/occ/intfcm/imagePicker //apple_ref/occ/intfm/imagePicker //apple_ref/occ/func/imagePicker //apple_ref/occ/ftmplt/imagePicker //apple_ref/occ/defn/imagePicker //apple_ref/occ/macro/imagePicker" --><span class="function">imagePicker</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/JPImagePickerController //apple_ref/occ/tdef/JPImagePickerController //apple_ref/occ/tag/JPImagePickerController //apple_ref/occ/econst/JPImagePickerController //apple_ref/occ/struct/JPImagePickerController //apple_ref/occ/clconst/JPImagePickerController //apple_ref/occ/intf/JPImagePickerController" --><span class="type">JPImagePickerController</span><!-- /a --> <span class="type">*</span>)<span class="param">picker</span>
<!-- a logicalPath="//apple_ref/occ/instm/imageForImageNumber //apple_ref/occ/clm/imageForImageNumber //apple_ref/occ/intfcm/imageForImageNumber //apple_ref/occ/intfm/imageForImageNumber //apple_ref/occ/func/imageForImageNumber //apple_ref/occ/ftmplt/imageForImageNumber //apple_ref/occ/defn/imageForImageNumber //apple_ref/occ/macro/imageForImageNumber" --><span class="function">imageForImageNumber</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSInteger //apple_ref/occ/tdef/NSInteger //apple_ref/occ/tag/NSInteger //apple_ref/occ/econst/NSInteger //apple_ref/occ/struct/NSInteger //apple_ref/occ/clconst/NSInteger //apple_ref/occ/intf/NSInteger" --><span class="type">NSInteger</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/econst/imageNumber //apple_ref/occ/data/imageNumber" --><span class="var">imageNumber</span><!-- /a -->; </pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
<div class='param_indent'>
<dl>
<dt><code>picker</code></dt><dd><p>A picker-object requesting the image.</dd>
<dt><code>imageNumber</code></dt><dd><p>A image number locating the image in the picker.</dd>
</dl>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Discussion</font>
</h5><!-- begin discussion --><p>This method should return a UIImage image for the preview at
the image number position. The image should have the width of kJPImagePickerControllerPreviewImageWidth
and height of kJPImagePickerControllerPreviewImageWidth. If it is not that size the
image picker will resize it so it fits.
<!-- end discussion -->
<p></p><hr><!-- headerDoc=intfm; uid=//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:thumbnailForImageNumber:; name=JPImagePickerControllerDataSource::imagePicker:thumbnailForImageNumber: -->
<a name="//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:thumbnailForImageNumber:"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="imagePicker:thumbnailForImageNumber:">imagePicker:thumbnailForImageNumber:</a></h3>
</td></tr></table><hr><p><!-- begin abstract --><p>Asks the data source for a thumbnail to insert in a particular location
the image picker.
<!-- end abstract --></p>
<p></p><div class='declaration_indent'>
<pre>- (<!-- a logicalPath="//apple_ref/occ/cl/UIImage //apple_ref/occ/tdef/UIImage //apple_ref/occ/tag/UIImage //apple_ref/occ/econst/UIImage //apple_ref/occ/struct/UIImage //apple_ref/occ/clconst/UIImage //apple_ref/occ/intf/UIImage" --><span class="type">UIImage</span><!-- /a --> <span class="type">*</span>)<!-- a logicalPath="//apple_ref/occ/instm/imagePicker //apple_ref/occ/clm/imagePicker //apple_ref/occ/intfcm/imagePicker //apple_ref/occ/intfm/imagePicker //apple_ref/occ/func/imagePicker //apple_ref/occ/ftmplt/imagePicker //apple_ref/occ/defn/imagePicker //apple_ref/occ/macro/imagePicker" --><span class="function">imagePicker</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/JPImagePickerController //apple_ref/occ/tdef/JPImagePickerController //apple_ref/occ/tag/JPImagePickerController //apple_ref/occ/econst/JPImagePickerController //apple_ref/occ/struct/JPImagePickerController //apple_ref/occ/clconst/JPImagePickerController //apple_ref/occ/intf/JPImagePickerController" --><span class="type">JPImagePickerController</span><!-- /a --> <span class="type">*</span>)<span class="param">picker</span>
<!-- a logicalPath="//apple_ref/occ/instm/thumbnailForImageNumber //apple_ref/occ/clm/thumbnailForImageNumber //apple_ref/occ/intfcm/thumbnailForImageNumber //apple_ref/occ/intfm/thumbnailForImageNumber //apple_ref/occ/func/thumbnailForImageNumber //apple_ref/occ/ftmplt/thumbnailForImageNumber //apple_ref/occ/defn/thumbnailForImageNumber //apple_ref/occ/macro/thumbnailForImageNumber" --><span class="function">thumbnailForImageNumber</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSInteger //apple_ref/occ/tdef/NSInteger //apple_ref/occ/tag/NSInteger //apple_ref/occ/econst/NSInteger //apple_ref/occ/struct/NSInteger //apple_ref/occ/clconst/NSInteger //apple_ref/occ/intf/NSInteger" --><span class="type">NSInteger</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/econst/imageNumber //apple_ref/occ/data/imageNumber" --><span class="var">imageNumber</span><!-- /a -->; </pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
<div class='param_indent'>
<dl>
<dt><code>picker</code></dt><dd><p>A picker-object requesting the thumbnail.</dd>
<dt><code>imageNumber</code></dt><dd><p>A image number locating the image in the picker.</dd>
</dl>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Discussion</font>
</h5><!-- begin discussion --><p>This method should return a UIImage thumbnail for a image at the
image number position. The image should have the width of kJPImagePickerControllerThumbnailWidth
and height of kJPImagePickerControllerThumbnailWidth. If it is not that size the
image picker will resize it so it fits.
<!-- end discussion -->
<p></p><hr><!-- headerDoc=intfm; uid=//apple_ref/occ/intfm/JPImagePickerControllerDataSource/numberOfImagesInImagePicker:; name=JPImagePickerControllerDataSource::numberOfImagesInImagePicker: -->
<a name="//apple_ref/occ/intfm/JPImagePickerControllerDataSource/numberOfImagesInImagePicker:"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="numberOfImagesInImagePicker:">numberOfImagesInImagePicker:</a></h3>
</td></tr></table><hr><p><!-- begin abstract --><p>Should return the number of images.
<!-- end abstract --></p>
<p></p><div class='declaration_indent'>
<pre>- (<!-- a logicalPath="//apple_ref/occ/cl/NSInteger //apple_ref/occ/tdef/NSInteger //apple_ref/occ/tag/NSInteger //apple_ref/occ/econst/NSInteger //apple_ref/occ/struct/NSInteger //apple_ref/occ/clconst/NSInteger //apple_ref/occ/intf/NSInteger" --><span class="type">NSInteger</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/numberOfImagesInImagePicker //apple_ref/occ/clm/numberOfImagesInImagePicker //apple_ref/occ/intfcm/numberOfImagesInImagePicker //apple_ref/occ/intfm/numberOfImagesInImagePicker //apple_ref/occ/func/numberOfImagesInImagePicker //apple_ref/occ/ftmplt/numberOfImagesInImagePicker //apple_ref/occ/defn/numberOfImagesInImagePicker //apple_ref/occ/macro/numberOfImagesInImagePicker" --><span class="function">numberOfImagesInImagePicker</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/JPImagePickerController //apple_ref/occ/tdef/JPImagePickerController //apple_ref/occ/tag/JPImagePickerController //apple_ref/occ/econst/JPImagePickerController //apple_ref/occ/struct/JPImagePickerController //apple_ref/occ/clconst/JPImagePickerController //apple_ref/occ/intf/JPImagePickerController" --><span class="type">JPImagePickerController</span><!-- /a --> <span class="type">*</span>)<!-- a logicalPath="//apple_ref/occ/econst/picker //apple_ref/occ/data/picker" --><span class="var">picker</span><!-- /a -->; </pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
<div class='param_indent'>
<dl>
<dt><code>picker</code></dt><dd><p>The picker which called this method.</dd>
</dl>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Discussion</font>
</h5><!-- begin discussion --><p>This method should return the number of images which the
picker should display.
<!-- end discussion -->
<p></p><p>Last Updated: Saturday, November 14, 2009
</p></body></html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
<meta name="ROBOTS" content="NOINDEX" />
<title>Documentation for JPImagePickerControllerDataSource (JPImagePickerController.h)</title>
<meta http-equiv="Content-Type" content="text/html; charset=ascii" />
<meta name="generator" content="HeaderDoc" />
<meta name="xcode-display" content="render" />
<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="#edf2f6" link="#000099" vlink="#660066"
leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table width="100%" cellpadding=0 cellspacing=0 border=0><tr height=51 width="100%" bgcolor="#466C9B"><td width="100%">&nbsp;</td></tr><tr><td><br><table border="0" cellpadding="0" cellspacing="2" width="148">
<tr><td width="15">&nbsp;</td><td colspan="2"><font size="5" color="#330066"><b>Protocol:</b></font></td></tr>
<tr><td width="15">&nbsp;</td><td width="15">&nbsp;</td><td><b><font size="+1">JPImagePickerControllerDataSource</font></b></td></tr>
<tr><td></td><td colspan="2">
<h4><br><nobr><a href="index.html#top" target="doc">Introduction</a></nobr></h4>
<h4><a href="index.html#HeaderDoc_methods" target="doc">Methods</a></h4>
<h5 class='hd_tocAccess'>Instance Methods</h5>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="-1">-</font><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:imageForImageNumber:" target="doc">imagePicker:&zwj;imageForImageNumber:&zwj;</a></nobr><br>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="-1">-</font><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDataSource/imagePicker:thumbnailForImageNumber:" target="doc">imagePicker:&zwj;thumbnailForImageNumber:&zwj;</a></nobr><br>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="-1">-</font><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDataSource/numberOfImagesInImagePicker:" target="doc">numberOfImagesInImagePicker:</a></nobr><br>
<br><h4>Other Reference</h4><hr>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../index.html" target="_top">Header</a></nobr><br>
</td></tr>
</table><p>&nbsp;<p>
</td></tr></table>
</body></html>

View file

@ -0,0 +1,108 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
<title>JPImagePickerControllerDelegate</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();">
</div>
<!-- headerDoc=intf; uid=//apple_ref/occ/intf/JPImagePickerControllerDelegate; name=JPImagePickerControllerDelegate-->
<a name="//apple_ref/occ/intf/JPImagePickerControllerDelegate"></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="JPImagePickerControllerDelegate">JPImagePickerControllerDelegate</a></h1>
</td></tr></table><hr><p><!-- begin abstract --><p>Delegate protocol for the JPImagePickerController
<!-- end abstract --></p>
<p><b>Extends&nbsp;Protocol:</b> <!-- a logicalPath="//apple_ref/occ/intf/NSObject" -->NSObject<!-- /a --><br>
<b>Declared In:</b> <a href="../../index.html" target="_top">JPImagePickerController.h</a><br>
</p><div class='declaration_indent'>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Discussion</font>
</h5><!-- begin discussion --><p>You have to implement this delegate in order to
use the JPImagePickerController. This delegate is responsible
for dismissing the picker on cancel or finished picking.
<!-- end discussion -->
<p></p><hr><br><a name="HeaderDoc_methods"></a>
<h2>Methods</h2>
<dl>
<dt><tt><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePicker:didFinishPickingWithImageNumber:" target="_top">-imagePicker:didFinishPickingWithImageNumber:</a></tt></dt>
<dd><p>Called when the user picked a image.
</dd>
<dt><tt><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePickerDidCancel:" target="_top">-imagePickerDidCancel:</a></tt></dt>
<dd><p>Called when picker did cancel
</dd>
</dl>
<hr><!-- headerDoc=intfm; uid=//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePicker:didFinishPickingWithImageNumber:; name=JPImagePickerControllerDelegate::imagePicker:didFinishPickingWithImageNumber: -->
<a name="//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePicker:didFinishPickingWithImageNumber:"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="imagePicker:didFinishPickingWithImageNumber:">imagePicker:didFinishPickingWithImageNumber:</a></h3>
</td></tr></table><hr><p><!-- begin abstract --><p>Called when the user picked a image.
<!-- end abstract --></p>
<p></p><div class='declaration_indent'>
<pre>- (<!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/imagePicker //apple_ref/occ/clm/imagePicker //apple_ref/occ/intfcm/imagePicker //apple_ref/occ/intfm/imagePicker //apple_ref/occ/func/imagePicker //apple_ref/occ/ftmplt/imagePicker //apple_ref/occ/defn/imagePicker //apple_ref/occ/macro/imagePicker" --><span class="function">imagePicker</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/JPImagePickerController //apple_ref/occ/tdef/JPImagePickerController //apple_ref/occ/tag/JPImagePickerController //apple_ref/occ/econst/JPImagePickerController //apple_ref/occ/struct/JPImagePickerController //apple_ref/occ/clconst/JPImagePickerController //apple_ref/occ/intf/JPImagePickerController" --><span class="type">JPImagePickerController</span><!-- /a --> <span class="type">*</span>)<span class="param">picker</span>
<!-- a logicalPath="//apple_ref/occ/instm/didFinishPickingWithImageNumber //apple_ref/occ/clm/didFinishPickingWithImageNumber //apple_ref/occ/intfcm/didFinishPickingWithImageNumber //apple_ref/occ/intfm/didFinishPickingWithImageNumber //apple_ref/occ/func/didFinishPickingWithImageNumber //apple_ref/occ/ftmplt/didFinishPickingWithImageNumber //apple_ref/occ/defn/didFinishPickingWithImageNumber //apple_ref/occ/macro/didFinishPickingWithImageNumber" --><span class="function">didFinishPickingWithImageNumber</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSInteger //apple_ref/occ/tdef/NSInteger //apple_ref/occ/tag/NSInteger //apple_ref/occ/econst/NSInteger //apple_ref/occ/struct/NSInteger //apple_ref/occ/clconst/NSInteger //apple_ref/occ/intf/NSInteger" --><span class="type">NSInteger</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/econst/imageNumber //apple_ref/occ/data/imageNumber" --><span class="var">imageNumber</span><!-- /a -->; </pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
<div class='param_indent'>
<dl>
<dt><code>picker</code></dt><dd><p>The picker which called this method.</dd>
<dt><code>imageNumber</code></dt><dd><p>The number which image the user picked.</dd>
</dl>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Discussion</font>
</h5><!-- begin discussion --><p>This method is called when the user die finish picking.
The delegate is responsible to dismiss the picker here.
<!-- end discussion -->
<p></p><hr><!-- headerDoc=intfm; uid=//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePickerDidCancel:; name=JPImagePickerControllerDelegate::imagePickerDidCancel: -->
<a name="//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePickerDidCancel:"></a>
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="imagePickerDidCancel:">imagePickerDidCancel:</a></h3>
</td></tr></table><hr><p><!-- begin abstract --><p>Called when picker did cancel
<!-- end abstract --></p>
<p></p><div class='declaration_indent'>
<pre>- (<!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/imagePickerDidCancel //apple_ref/occ/clm/imagePickerDidCancel //apple_ref/occ/intfcm/imagePickerDidCancel //apple_ref/occ/intfm/imagePickerDidCancel //apple_ref/occ/func/imagePickerDidCancel //apple_ref/occ/ftmplt/imagePickerDidCancel //apple_ref/occ/defn/imagePickerDidCancel //apple_ref/occ/macro/imagePickerDidCancel" --><span class="function">imagePickerDidCancel</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/JPImagePickerController //apple_ref/occ/tdef/JPImagePickerController //apple_ref/occ/tag/JPImagePickerController //apple_ref/occ/econst/JPImagePickerController //apple_ref/occ/struct/JPImagePickerController //apple_ref/occ/clconst/JPImagePickerController //apple_ref/occ/intf/JPImagePickerController" --><span class="type">JPImagePickerController</span><!-- /a --> <span class="type">*</span>)<!-- a logicalPath="//apple_ref/occ/econst/picker //apple_ref/occ/data/picker" --><span class="var">picker</span><!-- /a -->; </pre>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
<div class='param_indent'>
<dl>
<dt><code>picker</code></dt><dd><p>The picker which called this method.</dd>
</dl>
</div>
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Discussion</font>
</h5><!-- begin discussion --><p>This method is called when the user canceled picking.
The delegate is responsible to dismiss the picker here.
<!-- end discussion -->
<p></p><p>Last Updated: Saturday, November 14, 2009
</p></body></html>

View file

@ -0,0 +1,28 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
<meta name="ROBOTS" content="NOINDEX" />
<title>Documentation for JPImagePickerControllerDelegate (JPImagePickerController.h)</title>
<meta http-equiv="Content-Type" content="text/html; charset=ascii" />
<meta name="generator" content="HeaderDoc" />
<meta name="xcode-display" content="render" />
<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="#edf2f6" link="#000099" vlink="#660066"
leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table width="100%" cellpadding=0 cellspacing=0 border=0><tr height=51 width="100%" bgcolor="#466C9B"><td width="100%">&nbsp;</td></tr><tr><td><br><table border="0" cellpadding="0" cellspacing="2" width="148">
<tr><td width="15">&nbsp;</td><td colspan="2"><font size="5" color="#330066"><b>Protocol:</b></font></td></tr>
<tr><td width="15">&nbsp;</td><td width="15">&nbsp;</td><td><b><font size="+1">JPImagePickerControllerDelegate</font></b></td></tr>
<tr><td></td><td colspan="2">
<h4><br><nobr><a href="index.html#top" target="doc">Introduction</a></nobr></h4>
<h4><a href="index.html#HeaderDoc_methods" target="doc">Methods</a></h4>
<h5 class='hd_tocAccess'>Instance Methods</h5>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="-1">-</font><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePicker:didFinishPickingWithImageNumber:" target="doc">imagePicker:&zwj;didFinishPickingWithImageNumber:&zwj;</a></nobr><br>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="-1">-</font><a href="index.html#//apple_ref/occ/intfm/JPImagePickerControllerDelegate/imagePickerDidCancel:" target="doc">imagePickerDidCancel:</a></nobr><br>
<br><h4>Other Reference</h4><hr>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../index.html" target="_top">Header</a></nobr><br>
</td></tr>
</table><p>&nbsp;<p>
</td></tr></table>
</body></html>