<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for iCode Tips</title>
	<atom:link href="http://icodetips.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://icodetips.com</link>
	<description>Tutorials, tips and tricks for iPhone and iPad !</description>
	<lastBuildDate>Thu, 14 Jul 2011 20:50:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Fireworks simulation on iPhone by Pete</title>
		<link>http://icodetips.com/2010/12/fireworks-simulation-on-iphone/#comment-120</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Thu, 14 Jul 2011 20:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://icodetips.com/?p=134#comment-120</guid>
		<description>I really enjoyed your demo on the Fireworks.  Thank you.  Is it possible to insert a png of stars to the fireworks rather than the squares you have in your demo?  What do I have to do to add that?  Thanks for your help.  Pete

Also,  this part of the code says that there is potential leak in aFireWork.

&quot;aFireWork = [[FireWorks alloc]init];&quot; in:

- (void)resetFireworks:(NSTimer*)theTimer {
	
	NSLog(@&quot;enter&quot;);
	
	CGRect currentFrame = fWView_.frame;
	
	FireWorks *aFireWork;
	aFireWork = [[FireWorks alloc]init];
	aFireWork.origin = CGPointMake(arc4random()%((int)currentFrame.size.width), arc4random()%((int)currentFrame.size.height));
	[aFireWork  generateParticles:100];
	
	[fWView_.fireworks addObject:aFireWork];
	
	if([fWView_.fireworks count]&gt;10) {
		FireWorks *firstFireWork = [fWView_.fireworks objectAtIndex:0];
		[firstFireWork removeSistem];
		[fWView_.fireworks removeObjectAtIndex:0];
	}
}</description>
		<content:encoded><![CDATA[<p>I really enjoyed your demo on the Fireworks.  Thank you.  Is it possible to insert a png of stars to the fireworks rather than the squares you have in your demo?  What do I have to do to add that?  Thanks for your help.  Pete</p>
<p>Also,  this part of the code says that there is potential leak in aFireWork.</p>
<p>&#8220;aFireWork = [[FireWorks alloc]init];&#8221; in:</p>
<p>- (void)resetFireworks:(NSTimer*)theTimer {</p>
<p>	NSLog(@&#8221;enter&#8221;);</p>
<p>	CGRect currentFrame = fWView_.frame;</p>
<p>	FireWorks *aFireWork;<br />
	aFireWork = [[FireWorks alloc]init];<br />
	aFireWork.origin = CGPointMake(arc4random()%((int)currentFrame.size.width), arc4random()%((int)currentFrame.size.height));<br />
	[aFireWork  generateParticles:100];</p>
<p>	[fWView_.fireworks addObject:aFireWork];</p>
<p>	if([fWView_.fireworks count]&gt;10) {<br />
		FireWorks *firstFireWork = [fWView_.fireworks objectAtIndex:0];<br />
		[firstFireWork removeSistem];<br />
		[fWView_.fireworks removeObjectAtIndex:0];<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flies Squash iPhone Game by great game</title>
		<link>http://icodetips.com/2010/09/flies-squash-iphone-game/#comment-8</link>
		<dc:creator>great game</dc:creator>
		<pubDate>Wed, 08 Sep 2010 15:13:56 +0000</pubDate>
		<guid isPermaLink="false">http://icodetips.com/?p=98#comment-8</guid>
		<description>really cool app, great game and a very good idea, some more levels would be great.</description>
		<content:encoded><![CDATA[<p>really cool app, great game and a very good idea, some more levels would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a UITextField inside an UIAlertView by Dipak</title>
		<link>http://icodetips.com/2010/08/adding-a-uitextfield-inside-an-uialertview/#comment-4</link>
		<dc:creator>Dipak</dc:creator>
		<pubDate>Thu, 19 Aug 2010 05:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://icodetips.com/?p=80#comment-4</guid>
		<description>Nice Blog,
 BE CONTINUE:)</description>
		<content:encoded><![CDATA[<p>Nice Blog,<br />
 BE CONTINUE:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

