<?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 on: Exploring iPhone Graphics Part 1</title>
	<atom:link href="http://trailsinthesand.com/exploring-iphone-graphics-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/</link>
	<description></description>
	<pubDate>Wed, 10 Mar 2010 19:53:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tank</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-14652</link>
		<dc:creator>Tank</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-14652</guid>
		<description>maybe there have to be some trick, since you made a Cocoa Touch app from the start?</description>
		<content:encoded><![CDATA[<p>maybe there have to be some trick, since you made a Cocoa Touch app from the start?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tank</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-14651</link>
		<dc:creator>Tank</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-14651</guid>
		<description>Damn I'm getting so mad, that nothing happens if I draw.

1: I make a view based app
2: Go to the View controller .m file
3: Do the DrawRect method

- (void)drawRect:(CGRect)rect
{
    // Get the graphics context and clear it
    CGContextRef ctx = UIGraphicsGetCurrentContext();
    CGContextClearRect(ctx, rect);
    // Draw a red solid square
    CGContextSetRGBFillColor(ctx, 1.0, 0.0, 0.0, 1.0);
    CGContextFillRect(ctx, CGRectMake(10, 10, 50, 50));
}

And nothing happens. I've wasted my whole day. Any help?
Should I redraw something? Why doest it draws on my template mede view??? thx</description>
		<content:encoded><![CDATA[<p>Damn I&#8217;m getting so mad, that nothing happens if I draw.</p>
<p>1: I make a view based app<br />
2: Go to the View controller .m file<br />
3: Do the DrawRect method</p>
<p>- (void)drawRect:(CGRect)rect<br />
{<br />
    // Get the graphics context and clear it<br />
    CGContextRef ctx = UIGraphicsGetCurrentContext();<br />
    CGContextClearRect(ctx, rect);<br />
    // Draw a red solid square<br />
    CGContextSetRGBFillColor(ctx, 1.0, 0.0, 0.0, 1.0);<br />
    CGContextFillRect(ctx, CGRectMake(10, 10, 50, 50));<br />
}</p>
<p>And nothing happens. I&#8217;ve wasted my whole day. Any help?<br />
Should I redraw something? Why doest it draws on my template mede view??? thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ye ye ne</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-11868</link>
		<dc:creator>ye ye ne</dc:creator>
		<pubDate>Tue, 08 Dec 2009 10:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-11868</guid>
		<description>hi..somebody
how can i draw a graph in iPhone App
pls HELP ME..!</description>
		<content:encoded><![CDATA[<p>hi..somebody<br />
how can i draw a graph in iPhone App<br />
pls HELP ME..!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Memmakersorg</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-11094</link>
		<dc:creator>Memmakersorg</dc:creator>
		<pubDate>Thu, 12 Nov 2009 20:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-11094</guid>
		<description>Hi,

I'm trying to draw a gauge -- like a speedometer or volt meter.

Do you know of any links that point to source code that I can use as a starting point.

Thanks,

MM.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to draw a gauge &#8212; like a speedometer or volt meter.</p>
<p>Do you know of any links that point to source code that I can use as a starting point.</p>
<p>Thanks,</p>
<p>MM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Beer &#187; Blog Archive &#187; Core Graphics Introduction - iPhone Software Engineer</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-9701</link>
		<dc:creator>Christian Beer &#187; Blog Archive &#187; Core Graphics Introduction - iPhone Software Engineer</dc:creator>
		<pubDate>Sat, 19 Sep 2009 16:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-9701</guid>
		<description>[...] Exploring iPhone Graphics Part 1 [...]</description>
		<content:encoded><![CDATA[<p>[...] Exploring iPhone Graphics Part 1 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-9504</link>
		<dc:creator>Allen</dc:creator>
		<pubDate>Tue, 15 Sep 2009 06:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-9504</guid>
		<description>Very nice tutorial !!!
Allen</description>
		<content:encoded><![CDATA[<p>Very nice tutorial !!!<br />
Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6 Resources For Learning Core Graphics &#124; iPhone Development Tutorials and Tips</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-9402</link>
		<dc:creator>6 Resources For Learning Core Graphics &#124; iPhone Development Tutorials and Tips</dc:creator>
		<pubDate>Fri, 11 Sep 2009 07:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-9402</guid>
		<description>[...] Exploring iPhone Graphics Part 1 &#8211; Basic shapes tutorial repeated all over the place, this is the best one that I&#8217;ve seen.  Exploring iPhone Graphics Part 2 &#8211; Very good beginners animation tutorial with Core Graphics. [...]</description>
		<content:encoded><![CDATA[<p>[...] Exploring iPhone Graphics Part 1 &#8211; Basic shapes tutorial repeated all over the place, this is the best one that I&#8217;ve seen.  Exploring iPhone Graphics Part 2 &#8211; Very good beginners animation tutorial with Core Graphics. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hoangtuan</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-7088</link>
		<dc:creator>hoangtuan</dc:creator>
		<pubDate>Wed, 10 Jun 2009 03:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-7088</guid>
		<description>Please help me !
i make an app like a slide show with back, previous button to change Image one by one. But when i using large image it crash. Now i,m using 64 jpg pics , size~20kb/1pic.

help me or i die :( ! (U can add nick hoangtuanfithou, please)
code like that :

//Init Image Array
-(void)InitImageArray1
{	
	myAnimationImages1 = [[NSMutableArray alloc] init];	
	
	
	for ( int i = 0; i &lt; 24; i++ )
	{
		NSAutoreleasePool *poolArray=[[NSAutoreleasePool alloc] init];
		
		NSString *fileName = [NSString stringWithFormat:@"001 (%d)",i];
		image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:fileName ofType:@"jpg"]];
		
		[myAnimationImages1 addObject:image];	
		[poolArray release];
	}
	
}

//Change Image
self.mainImage.image = [self.myAnimationImages1 objectAtIndex:animationImageArrIndex];</description>
		<content:encoded><![CDATA[<p>Please help me !<br />
i make an app like a slide show with back, previous button to change Image one by one. But when i using large image it crash. Now i,m using 64 jpg pics , size~20kb/1pic.</p>
<p>help me or i die <img src='http://trailsinthesand.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ! (U can add nick hoangtuanfithou, please)<br />
code like that :</p>
<p>//Init Image Array<br />
-(void)InitImageArray1<br />
{<br />
	myAnimationImages1 = [[NSMutableArray alloc] init];	</p>
<p>	for ( int i = 0; i &lt; 24; i++ )<br />
	{<br />
		NSAutoreleasePool *poolArray=[[NSAutoreleasePool alloc] init];</p>
<p>		NSString *fileName = [NSString stringWithFormat:@"001 (%d)",i];<br />
		image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:fileName ofType:@&#8221;jpg&#8221;]];</p>
<p>		[myAnimationImages1 addObject:image];<br />
		[poolArray release];<br />
	}</p>
<p>}</p>
<p>//Change Image<br />
self.mainImage.image = [self.myAnimationImages1 objectAtIndex:animationImageArrIndex];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-5980</link>
		<dc:creator>Abhi</dc:creator>
		<pubDate>Mon, 06 Apr 2009 09:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-5980</guid>
		<description>Help!

How do i use it in xcode? which type of project should i create? and where should i put the code you've provided?</description>
		<content:encoded><![CDATA[<p>Help!</p>
<p>How do i use it in xcode? which type of project should i create? and where should i put the code you&#8217;ve provided?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john m</title>
		<link>http://trailsinthesand.com/exploring-iphone-graphics-part-1/comment-page-1/#comment-5463</link>
		<dc:creator>john m</dc:creator>
		<pubDate>Thu, 19 Mar 2009 05:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://trailsinthesand.com/exploring-iphone-graphics-part-1/#comment-5463</guid>
		<description>Hi 
  I have one doubt..... how can I erase only the part of an image where I touched.... let me make it clear
I have an image in my view and when i touch anywhere in that image... I want that part only to be removed....how can I do it??

-John</description>
		<content:encoded><![CDATA[<p>Hi<br />
  I have one doubt&#8230;.. how can I erase only the part of an image where I touched&#8230;. let me make it clear<br />
I have an image in my view and when i touch anywhere in that image&#8230; I want that part only to be removed&#8230;.how can I do it??</p>
<p>-John</p>
]]></content:encoded>
	</item>
</channel>
</rss>
