<?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</title>
	<atom:link href="http://www.flexicoder.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexicoder.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 15:11:31 +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>CFBundleiconfile does not have an extension</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/07/cfbundleiconfile-does-not-have-an-extension/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/07/cfbundleiconfile-does-not-have-an-extension/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:11:31 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=335</guid>
		<description><![CDATA[Currently there is an issue with Apples Application Loader, although the documentation states that you can omit the file extension from the Icon File name, and this works when running locally, when you come to submit it to the app store it fails validation.
At the moment you have to specify the names using the CFBundleIconFiles

Social [...]]]></description>
			<content:encoded><![CDATA[<p>Currently there is an issue with Apples Application Loader, although the documentation states that you can omit the file extension from the Icon File name, and this works when running locally, when you come to submit it to the app store it fails validation.</p>
<p>At the moment you have to specify the names using the CFBundleIconFiles<br />
<img src="http://www.flexicoder.com/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-28-at-16.09.49.png" alt="Screen shot 2010-07-28 at 16.09.49" title="Screen shot 2010-07-28 at 16.09.49" width="409" height="190" class="aligncenter size-full wp-image-336" /></p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/07/cfbundleiconfile-does-not-have-an-extension/&title=CFBundleiconfile+does+not+have+an+extension&text=Currently+there+is+an+issue+with+Apples+Application+Loader%2C+although+the+documentation+states+that+you+can+omit+the+file+extension+from+the+Icon+File+name%2C+and+this+works+when+running+locally%2C+when...&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/07/cfbundleiconfile-does-not-have-an-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Truly quit app under iOS4</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/07/truly-quit-app-under-ios4/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/07/truly-quit-app-under-ios4/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 11:07:20 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=333</guid>
		<description><![CDATA[Great article that explains how to terminate your app so that it doesn&#8217;t go into suspend mode, basic details are here
Multi-tasking can be great, but it has added some complexity to programming on the iPhone.  For many apps there really is no advantage. For instance, does the “That’s What She Said” button really need [...]]]></description>
			<content:encoded><![CDATA[<p>Great <a href="http://maniacdev.com/2010/07/screw-multi-tasking-how-to-make-your-ios-4-apps-exit-for-real/">article</a> that explains how to terminate your app so that it doesn&#8217;t go into suspend mode, basic details are here</p>
<p>Multi-tasking can be great, but it has added some complexity to programming on the iPhone.  For many apps there really is no advantage. For instance, does the “That’s What She Said” button really need to stay in memory?</p>
<p>It’s some added complexity that programmers don’t need.. some of the more complex memory intensive apps will just exit anyways, and programming the app to suspend can be a highly complicated task.</p>
<p>Fortunately there is a simple way to make your iOS 4 apps terminate for real when the user taps the home button.</p>
<p>This is a simple process:</p>
<p>Open your info.plist file<br />
Add The Key UIApplicationExitsOnSuspend<br />
Set the new key to YES<br />
Now your applicationwillterminate: method will be run when the user taps the home key, and your app will exit for real.</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/07/truly-quit-app-under-ios4/&title=Truly+quit+app+under+iOS4&text=Great+article+that+explains+how+to+terminate+your+app+so+that+it+doesn%26%238217%3Bt+go+into+suspend+mode%2C+basic+details+are+here+Multi-tasking+can+be+great%2C+but+it+has+added+some+complexity+to+programming...&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/07/truly-quit-app-under-ios4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS4 EXEC_BAD_ACCESS with setHidesBottomBarWhenPushed</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/06/ios4-exec_bad_access-with-sethidesbottombarwhenpushed/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/06/ios4-exec_bad_access-with-sethidesbottombarwhenpushed/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 15:33:30 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=331</guid>
		<description><![CDATA[Raised the following bug with Apple, (Id 8126566)
Get EXEC_BAD_ACCESS when hiding a bottom bar that doesn&#8217;t exist
Steps to Reproduce:
	SettingsViewController*  settings = [[SettingsViewController alloc] init];
	[settings setHidesBottomBarWhenPushed:YES];
	[self.navigationController pushViewController:settings animated:YES]; 
	[settings release];
  The active view doesn&#8217;t have a bottom bar
Expected Results:
When the view is popped it should ignore the fact that there was no bottom bar
Actual [...]]]></description>
			<content:encoded><![CDATA[<p>Raised the following bug with Apple, (Id 8126566)</p>
<p>Get EXEC_BAD_ACCESS when hiding a bottom bar that doesn&#8217;t exist</p>
<p>Steps to Reproduce:</p>
<p>	SettingsViewController*  settings = [[SettingsViewController alloc] init];<br />
	[settings setHidesBottomBarWhenPushed:YES];<br />
	[self.navigationController pushViewController:settings animated:YES]; </p>
<p>	[settings release];</p>
<p>  The active view doesn&#8217;t have a bottom bar</p>
<p>Expected Results:<br />
When the view is popped it should ignore the fact that there was no bottom bar</p>
<p>Actual Results:<br />
get an exec_bad_access</p>
<p>Regression:</p>
<p>Notes:<br />
removing the line that setHidesBottomBarWhenPushed, corrects the issue. </p>
<p>Obviously this is redundant code and I shouldn&#8217;t be calling it (I&#8217;ve now removed it), but I would of thought he SDK would check before trying to restore a non existent bottombar</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/06/ios4-exec_bad_access-with-sethidesbottombarwhenpushed/&title=iOS4+EXEC_BAD_ACCESS+with+setHidesBottomBarWhenPushed&text=Raised+the+following+bug+with+Apple%2C+%28Id+8126566%29+Get+EXEC_BAD_ACCESS+when+hiding+a+bottom+bar+that+doesn%26%238217%3Bt+exist+Steps+to+Reproduce%3A+%09SettingsViewController%2A++settings+%3D...&tags=bottom+bar" 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/06/ios4-exec_bad_access-with-sethidesbottombarwhenpushed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 &#8211; Table Valued Parameters</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/06/sql-server-2008-table-valued-parameters/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/06/sql-server-2008-table-valued-parameters/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 19:39:54 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[.Net security]]></category>
		<category><![CDATA[query syntax]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=329</guid>
		<description><![CDATA[Here is a great article that explains how to use TVP&#8217;s via .Net and a stored procedure
Social Bookmarking]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sommarskog.se/arrays-in-sql-2008.html">Here</a> is a great article that explains how to use TVP&#8217;s via .Net and a stored procedure</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/06/sql-server-2008-table-valued-parameters/&title=SQL+Server+2008+%26%238211%3B+Table+Valued+Parameters&text=Here+is+a+great+article+that+explains+how+to+use+TVP%26%238217%3Bs+via+.Net+and+a+stored+procedure...&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/06/sql-server-2008-table-valued-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Images onto the iPhone Simulator</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/06/getting-images-onto-the-iphone-simulator/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/06/getting-images-onto-the-iphone-simulator/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 13:21:34 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[Simulator]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=325</guid>
		<description><![CDATA[To add your own pictures to the simulator, get the simulator running and then drag your image onto the simulator. This will cause the simulator to open it mobile safari. Then mouse down and hold on the image, you will then see the following prompt&#8230;
Clicking save will then include your image.
Social Bookmarking]]></description>
			<content:encoded><![CDATA[<p>To add your own pictures to the simulator, get the simulator running and then drag your image onto the simulator. This will cause the simulator to open it mobile safari. Then mouse down and hold on the image, you will then see the following prompt&#8230;<br />
<div id="attachment_326" class="wp-caption aligncenter" style="width: 347px"><img src="http://www.flexicoder.com/blog/wp-content/uploads/2010/06/Screen-shot-2010-06-04-at-14.15.47.png" alt="Upload image to simulator" title="Image to simulator" width="337" height="497" class="size-full wp-image-326" /><p class="wp-caption-text">Upload image to simulator</p></div></p>
<p>Clicking save will then include your image.</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/06/getting-images-onto-the-iphone-simulator/&title=Getting+Images+onto+the+iPhone+Simulator&text=To+add+your+own+pictures+to+the+simulator%2C+get+the+simulator+running+and+then+drag+your+image+onto+the+simulator.+This+will+cause+the+simulator+to+open+it+mobile+safari.&tags=simulator" 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/06/getting-images-onto-the-iphone-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Payments from Apple &#8211; Company VAT Return</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/06/payments-from-apple-company-vat-return/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/06/payments-from-apple-company-vat-return/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 13:22:40 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=323</guid>
		<description><![CDATA[Working out what you do with a payment from Apple, when you are lucky enough to get one, can be quite tricky for a VAT registered company, this is the information I&#8217;ve been able to gather so far, via the Apple Developers Forum (so thanks goes to them)&#8230;..
Apple act as an undisclosed agent. You supply [...]]]></description>
			<content:encoded><![CDATA[<p>Working out what you do with a payment from Apple, when you are lucky enough to get one, can be quite tricky for a VAT registered company, this is the information I&#8217;ve been able to gather so far, via the Apple Developers Forum (so thanks goes to them)&#8230;..</p>
<p>Apple act as an undisclosed agent. You supply your products to Apple (one supply line), who then market and supply them to consumers (another supply line). Apple charge VAT on their supply line, as you&#8217;d expect.</p>
<p>Apple&#8217;s commission is a markup in the price, which they then add VAT to. This is very important. At no point do Apple invoice you for commission. Because of this, under HMRC rules this isn&#8217;t deemed to be a supply of &#8220;agency services&#8221; from Apple to you (the agency services in question being the marketing and sale of Apps on iTunes). That&#8217;s the second supply line &#8211; Apple to the Consumer. You can then account for VAT on your supply to Apple as normal. Because you are supplying software to Apple&#8217;s EU subsidiary, HMRC&#8217;s place of supply regulations mean you&#8217;re outside the scope for VAT.</p>
<p>So:</p>
<p>You sell an app for £0.99 (it&#8217;s an easy number to use in this example, for simplicity)<br />
Apple charges the user £0.84 (plus VAT)<br />
Apple takes their commission (£0.25), except it&#8217;s technically a mark-up on price, not commission.<br />
This leaves £0.59, which is the cost of supply. This is what you would invoice Apple for (even if you&#8217;re only generating invoices for your own internal paperwork)<br />
As you supplied your product to Apple for £0.59, who then sold it on at a markup to the public, you were supplying directly to a business, and thus outside the scope of VAT.</p>
<p>Fortunately, the contract you have isn&#8217;t with Apple UK, but Apple Sàrl, based in Luxumberg. When a seller in one EU member state invoices a company in a different EU member state they can zero rate the VAT. You should still put VAT as an item on your invoices, but rate it at zero (ie, £0.00). As long as you use the  addresses below on your invoices, HMRC should be satisfied.</p>
<p>Really Important point: Because your iTunes income is coming from another member state, you need to declare it in Box 8 of your VAT return. If you have an accountant you don&#8217;t need to worry about this, you just need to make sure s/he is aware your App income is from within the EU but outside the UK.</p>
<p>Should you need an address and Luxumberg VAT number for your records, it&#8217;s as follows:</p>
<p>Billing Address:<br />
iTunes s.à r. l.<br />
8 rue Heinrich Heine<br />
L-1720 Luxembourg<br />
TVA/VAT No.: LU20165772</p>
<p>Invoicing Address:<br />
App Store Invoicing<br />
Apple Operations Europe<br />
iTunes s.à r. l.<br />
Hollyhill Industrial Estate<br />
Hollyhill<br />
Cork Ireland</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/06/payments-from-apple-company-vat-return/&title=Payments+from+Apple+%26%238211%3B+Company+VAT+Return&text=Working+out+what+you+do+with+a+payment+from+Apple%2C+when+you+are+lucky+enough+to+get+one%2C+can+be+quite+tricky+for+a+VAT+registered+company%2C+this+is+the+information+I%26%238217%3Bve+been+able+to+gather+so...&tags=supply+line%2C+apple%2C+supply" 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/06/payments-from-apple-company-vat-return/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WWDC 2010 &#8211; Sessions I&#8217;m Attending</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/06/wwdc-2010-sessions-im-attending/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/06/wwdc-2010-sessions-im-attending/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 08:16:48 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[WWDC10]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=320</guid>
		<description><![CDATA[Here is my initial selection of sessions I&#8217;ll be attending, there are still some &#8220;TBA&#8221; sessions so might change my mind!! Last year they supplied an app to keep a track of the events, I hope they do the same again this year.
Keynote
Developer Tools State of the Union	Developer
Safari, Internet &#038; Web State of the Union
Graphics [...]]]></description>
			<content:encoded><![CDATA[<p>Here is my initial selection of sessions I&#8217;ll be attending, there are still some &#8220;TBA&#8221; sessions so might change my mind!! Last year they supplied an app to keep a track of the events, I hope they do the same again this year.</p>
<p>Keynote<br />
Developer Tools State of the Union	Developer<br />
Safari, Internet &#038; Web State of the Union<br />
Graphics and Media State of the Union<br />
Game Design and Development for iPhone OS, Part 1<br />
Game Design and Development for iPhone OS, Part 2<br />
Adopting Multitasking on iPhone OS, Part 1<br />
Introduction to Game Center<br />
Game Center Techniques, Part 1<br />
Game Center Techniques, Part 2<br />
Apple Design Awards<br />
Stump the Experts<br />
Integrating Ads with iAd	Frameworks<br />
Model-View-Controller for iPhone OS<br />
Introducing Blocks and Grand Central Dispatch on iPhone<br />
Making Movies is Hard Fun: Building Tools for Telling Stories<br />
Automating User Interface Testing with Instruments<br />
Simplifying Touch Event Handling with Gesture Recognizers<br />
Advanced Gesture Recognition<br />
Incorporating the Camera and Photo Library in your App<br />
Using Core Location in iPhone OS 4 (Repeat)	Frameworks<br />
Core Animation in Practice, Part 1<br />
NASA &#038; Mobility<br />
Implementing Local and Push Notifications<br />
Advanced Performance Optimization on iPhone OS, Part 1<br />
Calendar Integration with Event Kit	Frameworks<br />
WWDC Bash at Yerba Buena Gardens<br />
Understanding Crash Reports on iPhone OS<br />
Adopting Multitasking on iPhone OS, Part 2 (Repeat)<br />
Advanced Performance Optimization on iPhone OS, Part 2<br />
Camera to Screen &#8211; Building CNN&#8217;s Globally Connected Digital Content Flow</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/06/wwdc-2010-sessions-im-attending/&title=WWDC+2010+%26%238211%3B+Sessions+I%26%238217%3Bm+Attending&text=Here+is+my+initial+selection+of+sessions+I%26%238217%3Bll+be+attending%2C+there+are+still+some+%26%238220%3BTBA%26%238221%3B+sessions+so+might+change+my+mind%21%21&tags=game+center%2C+for+iphone%2C+the+union%2C+iphone" 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/06/wwdc-2010-sessions-im-attending/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReturnURL ignoring it</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/05/returnurl-ignoring-it/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/05/returnurl-ignoring-it/#comments</comments>
		<pubDate>Mon, 03 May 2010 12:51:31 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[.Net security]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=316</guid>
		<description><![CDATA[If you need to force the user to a particular page, regardless of what the ReturnURL is stating, then use the following code in your Page_Load



        protected void Page_Load(object sender, EventArgs e)
        {
         [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to force the user to a particular page, regardless of what the ReturnURL is stating, then use the following code in your Page_Load</p>
<p><code>
<pre class="brush:csharp">

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack &#038;&#038; !string.IsNullOrEmpty(Request.QueryString["ReturnURL"]))
            {
                //Do this to remove any URL info the user may be trying to get to
                Response.Redirect(@"default.aspx");
            }

        }
</pre>
<p></code></p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/05/returnurl-ignoring-it/&title=ReturnURL+ignoring+it&text=If+you+need+to+force+the+user+to+a+particular+page%2C+regardless+of+what+the+ReturnURL+is+stating%2C+then+use+the+following+code+in+your+Page_Load++++++++++++protected+void+Page_Load%28object+sender%2C...&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/05/returnurl-ignoring-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>SQL Grant Execute for Stored Procs</title>
		<link>http://www.flexicoder.com/blog/index.php/2010/04/sql-grant-execute-for-stored-procs/</link>
		<comments>http://www.flexicoder.com/blog/index.php/2010/04/sql-grant-execute-for-stored-procs/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:58:34 +0000</pubDate>
		<dc:creator>flexicoder</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[query syntax]]></category>

		<guid isPermaLink="false">http://www.flexicoder.com/blog/?p=308</guid>
		<description><![CDATA[Found this great article that has a really simple script to create the grant commands needed for all the procs in a database
Social Bookmarking]]></description>
			<content:encoded><![CDATA[<p>Found this great <a href="http://yellowduckguy.spaces.live.com/Blog/cns!DA380C13569E8907!166.entry">article</a> that has a really simple script to create the grant commands needed for all the procs in a database</p>
<br/><a href="http://www.socialmarker.com/?link=http://www.flexicoder.com/blog/index.php/2010/04/sql-grant-execute-for-stored-procs/&title=SQL+Grant+Execute+for+Stored+Procs&text=Found+this+great+article+that+has+a+really+simple+script+to+create+the+grant+commands+needed+for+all+the+procs+in+a+database...&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/sql-grant-execute-for-stored-procs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
