<?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: Macros for Xcode</title>
	<atom:link href="http://blog.coriolis.ch/2009/01/05/macros-for-xcode/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/</link>
	<description>Just another Coriolis weblog</description>
	<lastBuildDate>Sat, 06 Aug 2011 21:59:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: bob</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-16322</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Sat, 30 Jul 2011 02:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-16322</guid>
		<description>#define CMLog(format, ...) NSLog(@&quot;%s:%@&quot;, __PRETTY_FUNCTION__,[NSString stringWithFormat:format, ## __VA_ARGS__]);

can be written as

#define CMLog(format, ...) NSLog(@&quot;%s:&quot; format, __PRETTY_FUNCTION__, ## __VA_ARGS__]);</description>
		<content:encoded><![CDATA[<p>#define CMLog(format, &#8230;) NSLog(@&#8221;%s:%@&#8221;, __PRETTY_FUNCTION__,[NSString stringWithFormat:format, ## __VA_ARGS__]);</p>
<p>can be written as</p>
<p>#define CMLog(format, &#8230;) NSLog(@&#8221;%s:&#8221; format, __PRETTY_FUNCTION__, ## __VA_ARGS__]);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6 Useful Objective C &#38; Cocoa macros for XCode &#124; iOS</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-9095</link>
		<dc:creator>6 Useful Objective C &#38; Cocoa macros for XCode &#124; iOS</dc:creator>
		<pubDate>Sat, 04 Sep 2010 00:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-9095</guid>
		<description>[...] Logging and benchmarking macros, courtesy of Stephan Burlot. [...]</description>
		<content:encoded><![CDATA[<p>[...] Logging and benchmarking macros, courtesy of Stephan Burlot. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-02-03 at adam hoyle presents suckmypixel</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-6544</link>
		<dc:creator>links for 2010-02-03 at adam hoyle presents suckmypixel</dc:creator>
		<pubDate>Wed, 03 Feb 2010 12:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-6544</guid>
		<description>[...] NSCoriolisBlog » Blog Archive » Macros for Xcode (tags: xcode iphone objective-c programming debugging) [...]</description>
		<content:encoded><![CDATA[<p>[...] NSCoriolisBlog » Blog Archive » Macros for Xcode (tags: xcode iphone objective-c programming debugging) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhoneGeek 爱疯极客 &#187; Xcode之宏</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-5474</link>
		<dc:creator>iPhoneGeek 爱疯极客 &#187; Xcode之宏</dc:creator>
		<pubDate>Thu, 12 Nov 2009 04:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-5474</guid>
		<description>[...] 原文见：Macros for Xcode [...]</description>
		<content:encoded><![CDATA[<p>[...] 原文见：Macros for Xcode [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-5299</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Thu, 22 Oct 2009 16:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-5299</guid>
		<description>__PRETTY_FUNCTION__ is a magic variable defined by GCC. At compile time, it is replaced by the method definition.

So, if you have a method:

- (void) myMethod:(NSString *)myString param:(NSString *)myParam

 __PRETTY_FUNCTION__ will be implicitly declared by GCC, as if, immediately following the opening brace of each method the declaration:
static const char  __PRETTY_FUNCTION__[] = &quot;myMethod:param:&quot;;

was added.

Stephan</description>
		<content:encoded><![CDATA[<p>__PRETTY_FUNCTION__ is a magic variable defined by GCC. At compile time, it is replaced by the method definition.</p>
<p>So, if you have a method:</p>
<p>- (void) myMethod:(NSString *)myString param:(NSString *)myParam</p>
<p> __PRETTY_FUNCTION__ will be implicitly declared by GCC, as if, immediately following the opening brace of each method the declaration:<br />
static const char  __PRETTY_FUNCTION__[] = &#8220;myMethod:param:&#8221;;</p>
<p>was added.</p>
<p>Stephan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JE</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-5298</link>
		<dc:creator>JE</dc:creator>
		<pubDate>Thu, 22 Oct 2009 15:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-5298</guid>
		<description>Can u give more information about __PRETTY_FUNCTION__ ?

Thanks!</description>
		<content:encoded><![CDATA[<p>Can u give more information about __PRETTY_FUNCTION__ ?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coders&#187; Blog Archive &#187; Macros for iPhone Programming</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-1567</link>
		<dc:creator>coders&#187; Blog Archive &#187; Macros for iPhone Programming</dc:creator>
		<pubDate>Tue, 21 Apr 2009 09:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-1567</guid>
		<description>[...] Here are some nice to have objective c macros I use in my projects. When I realized that NSObject on iPhones Simulator does support a getter for the class name but the original hardware does not, I&#8217;ll did a bit research about how to obtain more information about the current object and found some macro scripts in a discussion forum somewhere in the waste of internet. In former times I posted these macros here. But it turns out that the owner of these scripts is Stephan Burlot, and the tribute to it goes to him. Anyway, it seems he posted the scripts on his site, so you still can find them here: Stephan Burlots Macros for iPhone. [...]</description>
		<content:encoded><![CDATA[<p>[...] Here are some nice to have objective c macros I use in my projects. When I realized that NSObject on iPhones Simulator does support a getter for the class name but the original hardware does not, I&#8217;ll did a bit research about how to obtain more information about the current object and found some macro scripts in a discussion forum somewhere in the waste of internet. In former times I posted these macros here. But it turns out that the owner of these scripts is Stephan Burlot, and the tribute to it goes to him. Anyway, it seems he posted the scripts on his site, so you still can find them here: Stephan Burlots Macros for iPhone. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preston</title>
		<link>http://blog.coriolis.ch/2009/01/05/macros-for-xcode/comment-page-1/#comment-746</link>
		<dc:creator>Preston</dc:creator>
		<pubDate>Fri, 20 Mar 2009 21:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coriolis.ch/?p=65#comment-746</guid>
		<description>Very helpful.  Thanks!</description>
		<content:encoded><![CDATA[<p>Very helpful.  Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.coriolis.ch @ 2012-02-05 00:10:46 -->
