<?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: Yet Another Debug Output (NSLog Replacement)</title>
	<atom:link href="http://iPhoneDeveloperTips.com/debugging/yet-another-debug-output-nslog-replacement.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/debugging/yet-another-debug-output-nslog-replacement.html</link>
	<description>Tips and Tricks for iPhone developers</description>
	<lastBuildDate>Thu, 29 Jul 2010 23:00:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: John</title>
		<link>http://iPhoneDeveloperTips.com/debugging/yet-another-debug-output-nslog-replacement.html/comment-page-1#comment-269</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 01 Mar 2009 15:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1040#comment-269</guid>
		<description>I agree, printf will work fine as you&#039;ve shown, however, with printf you need to call the appropriate method to convert each object to its string representation or call the description method on the object. NSLog and/or CFShow will handle this process for you.</description>
		<content:encoded><![CDATA[<p>I agree, printf will work fine as you&#8217;ve shown, however, with printf you need to call the appropriate method to convert each object to its string representation or call the description method on the object. NSLog and/or CFShow will handle this process for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SlaunchaMan</title>
		<link>http://iPhoneDeveloperTips.com/debugging/yet-another-debug-output-nslog-replacement.html/comment-page-1#comment-266</link>
		<dc:creator>SlaunchaMan</dc:creator>
		<pubDate>Sun, 01 Mar 2009 07:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1040#comment-266</guid>
		<description>Why not just use printf?  You could do the following:

NSDate *today = [NSDate date];
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat:@&quot;EEEE MMMM d, YYYY&quot;];
NSString *dateString = [dateFormat stringFromDate:today];
[dateFormat release];

...

NSLog(@&quot;Date: %@&quot;, dateString);
printf(&quot;Date: %s&quot;, [dateString cString]);</description>
		<content:encoded><![CDATA[<p>Why not just use printf?  You could do the following:</p>
<p>NSDate *today = [NSDate date];<br />
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];<br />
[dateFormat setDateFormat:@"EEEE MMMM d, YYYY"];<br />
NSString *dateString = [dateFormat stringFromDate:today];<br />
[dateFormat release];</p>
<p>&#8230;</p>
<p>NSLog(@&#8221;Date: %@&#8221;, dateString);<br />
printf(&#8220;Date: %s&#8221;, [dateString cString]);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
