<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FlexiCoder Blog &#187; iPad</title>
	<atom:link href="http://www.flexicoder.com/blog/index.php/tag/ipad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexicoder.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 25 Aug 2010 08:36:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PanGesture with multiple subviews</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/04/pangesture-with-multiple-subviews/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/04/pangesture-with-multiple-subviews/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 09:38:52 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=310</guid>
		<description><![CDATA[The following code snippet is based on the iPhone documentation for handling the pan gesture, although theres still used the translate method which has been replaced. The method also caters for panning all of the views subviews so that everything moves.


- (IBAction)handlePanGesture:(UIPanGestureRecognizer *)sender {
	static CGPoint prevTranslate;

    CGPoint translate = [sender translationInView:self.OfficeImage];
		UIView *subView;
	for(subView [...]]]></description>
			<content:encoded><![CDATA[<p>The following code snippet is based on the iPhone documentation for handling the pan gesture, although theres still used the translate method which has been replaced. The method also caters for panning all of the views subviews so that everything moves.</p>
<p><code></p>
<pre class="brush:csharp">
- (IBAction)handlePanGesture:(UIPanGestureRecognizer *)sender {
	static CGPoint prevTranslate;

    CGPoint translate = [sender translationInView:self.OfficeImage];
		UIView *subView;
	for(subView in self.view.subviews)
	{

		CGRect newFrame = subView.frame;
		newFrame.origin.x += (translate.x - prevTranslate.x);
		newFrame.origin.y += (translate.y - prevTranslate.y);
		subView.frame = newFrame;
	}

	prevTranslate = translate;

    if (sender.state == UIGestureRecognizerStateEnded)
        prevTranslate = CGPointMake(0, 0);
}
</pre>
<p></code></p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/04/pangesture-with-multiple-subviews/&title=PanGesture+with+multiple+subviews&text=The+following+code+snippet+is+based+on+the+iPhone+documentation+for+handling+the+pan+gesture%2C+although+theres+still+used+the+translate+method+which+has+been+replaced.&tags=" target="_blank"><img src= "http://www.socialmarker.com/bookmark.gif" border="0" /></a><noscript><a href="http://www.socialmarker.com" >Social Bookmarking</a></noscript>]]></content:encoded>
			<wfw:commentRss>http://www.flexicoder.com/blog/index.php/2010/04/pangesture-with-multiple-subviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great tool for iPhone Mockups</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/03/great-tool-for-iphone-mockups/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/03/great-tool-for-iphone-mockups/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:16:38 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[useful links]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=291</guid>
		<description><![CDATA[Used OmniGraffle to produce mockups for my latest iPhone project, its pretty easy yo use and there are a number of good stencils that allow for most of the UI Kit controls and even the iPad!
Social Bookmarking]]></description>
			<content:encoded><![CDATA[<p>Used <a href="http://www.omnigroup.com/products/OmniGraffle/">OmniGraffle</a> to produce mockups for my latest iPhone project, its pretty easy yo use and there are a number of good <a href="http://graffletopia.com/stencils/tags/iphone">stencils</a> that allow for most of the UI Kit controls and even the iPad!</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/03/great-tool-for-iphone-mockups/&title=Great+tool+for+iPhone+Mockups&text=Used+OmniGraffle+to+produce+mockups+for+my+latest+iPhone+project%2C+its+pretty+easy+yo+use+and+there+are+a+number+of+good+stencils+that+allow+for+most+of+the+UI+Kit+controls+and+even+the+iPad%21&tags=" target="_blank"><img src= "http://www.socialmarker.com/bookmark.gif" border="0" /></a><noscript><a href="http://www.socialmarker.com" >Social Bookmarking</a></noscript>]]></content:encoded>
			<wfw:commentRss>http://www.flexicoder.com/blog/index.php/2010/03/great-tool-for-iphone-mockups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
