<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The Objective-C Singleton</title>
	<atom:link href="http://getsetgames.com/2009/08/30/the-objective-c-singleton/feed/" rel="self" type="application/rss+xml" />
	<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/</link>
	<description></description>
	<lastBuildDate>Fri, 30 Jul 2010 19:31:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jey350</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-358</link>
		<dc:creator>Jey350</dc:creator>
		<pubDate>Wed, 30 Jun 2010 17:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-358</guid>
		<description>Nice article ! &lt;br&gt;For people who are interested I made a reusable singleton class on this blog:&lt;br&gt;&lt;a href=&quot;http://www.devbypractice.com/reusable-singleton-class-in-objective-c-for-iphone-and-ipad/&quot; rel=&quot;nofollow&quot;&gt;http://www.devbypractice.com/reusable-singleton...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Nice article ! <br />For people who are interested I made a reusable singleton class on this blog:<br /><a href="http://www.devbypractice.com/reusable-singleton-class-in-objective-c-for-iphone-and-ipad/" rel="nofollow"></a><a href="http://www.devbypractice.com/reusable-singleton.." rel="nofollow">http://www.devbypractice.com/reusable-singleton..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petrus Ali Saputra</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-320</link>
		<dc:creator>Petrus Ali Saputra</dc:creator>
		<pubDate>Tue, 25 May 2010 19:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-320</guid>
		<description>Hi, I&#039;ve tried this code. But I got &quot;error: &#039;VariableStore&#039; undeclared (first use in this function)&quot; message when trying to use it. Anything wrong? Plz help.&lt;br&gt;&lt;br&gt;I rename MySingleton to VariableStore. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I&#39;ve tried this code. But I got &#8220;error: &#39;VariableStore&#39; undeclared (first use in this function)&#8221; message when trying to use it. Anything wrong? Plz help.</p>
<p>I rename MySingleton to VariableStore. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petrus Ali Saputra</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-270</link>
		<dc:creator>Petrus Ali Saputra</dc:creator>
		<pubDate>Tue, 25 May 2010 14:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-270</guid>
		<description>Hi, I&#039;ve tried this code. But I got &quot;error: &#039;VariableStore&#039; undeclared (first use in this function)&quot; message when trying to use it. Anything wrong? Plz help.&lt;br&gt;&lt;br&gt;I rename MySingleton to VariableStore. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I&#39;ve tried this code. But I got &#8220;error: &#39;VariableStore&#39; undeclared (first use in this function)&#8221; message when trying to use it. Anything wrong? Plz help.</p>
<p>I rename MySingleton to VariableStore. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglas Bonneville</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-203</link>
		<dc:creator>Douglas Bonneville</dc:creator>
		<pubDate>Thu, 25 Mar 2010 05:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-203</guid>
		<description>Where do you instantiate this from? I tried from inside viewDidLoad on a UIView, and was told in an IBAction method further up that the instance was undeclared...&lt;br&gt;&lt;br&gt;Where do you instantiate to ensure all methods can access it?</description>
		<content:encoded><![CDATA[<p>Where do you instantiate this from? I tried from inside viewDidLoad on a UIView, and was told in an IBAction method further up that the instance was undeclared&#8230;</p>
<p>Where do you instantiate to ensure all methods can access it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fireball</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-174</link>
		<dc:creator>Fireball</dc:creator>
		<pubDate>Fri, 01 Jan 2010 17:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-174</guid>
		<description>[MySingleton sharedMySingleton].QQQ = [NSArray arrayWithObjects: @&quot;test&quot;, nil];&lt;br&gt;I think this is the correct syntax.&lt;br&gt;&lt;br&gt;How do I do something like 	[MySingleton sharedMySingleton] [QQQ objectAtIndex:0]; ?&lt;br&gt;&lt;br&gt;thanks in advance</description>
		<content:encoded><![CDATA[<p>[MySingleton sharedMySingleton].QQQ = [NSArray arrayWithObjects: @"test", nil];<br />I think this is the correct syntax.</p>
<p>How do I do something like 	[MySingleton sharedMySingleton] [QQQ objectAtIndex:0]; ?</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fireball</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-173</link>
		<dc:creator>Fireball</dc:creator>
		<pubDate>Fri, 01 Jan 2010 17:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-173</guid>
		<description>Thanks for the tutorial. Works perfectly. I&#039;m new to ObjC programming for iphone.&lt;br&gt;&lt;br&gt;i tried to have a NSArray instead of NSString except i dont know the syntax for accessing it.&lt;br&gt;&lt;br&gt;[[MySingleton sharedMySingleton] [myArray arrayWithObjects: @&quot;test&quot;, nil]];&lt;br&gt;&lt;br&gt;How do i achieve this?</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial. Works perfectly. I&#39;m new to ObjC programming for iphone.</p>
<p>i tried to have a NSArray instead of NSString except i dont know the syntax for accessing it.</p>
<p>[[MySingleton sharedMySingleton] [myArray arrayWithObjects: @"test", nil]];</p>
<p>How do i achieve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duponol</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-57</link>
		<dc:creator>duponol</dc:creator>
		<pubDate>Wed, 09 Sep 2009 21:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-57</guid>
		<description>Hey Derek,&lt;br&gt;&lt;br&gt;I&#039;m embaressed to say it but I found my error, it was the second piece of code that diden&#039;t work:&lt;br&gt;&lt;br&gt;NSLog(&quot;singleton: %@&quot;,[Global sharedMySingleton].test);&lt;br&gt;&lt;br&gt;There is no @ in front of the &quot;singleton: %@&quot;, I was so hang up in the singleton that I wasn&#039;t seeing clear.  Sorry for your trouble and thanks for the reply and the tutorial.&lt;br&gt;&lt;br&gt;Kind regards,&lt;br&gt;Olivier</description>
		<content:encoded><![CDATA[<p>Hey Derek,</p>
<p>I&#39;m embaressed to say it but I found my error, it was the second piece of code that diden&#39;t work:</p>
<p>NSLog(&#8220;singleton: %@&#8221;,[Global sharedMySingleton].test);</p>
<p>There is no @ in front of the &#8220;singleton: %@&#8221;, I was so hang up in the singleton that I wasn&#39;t seeing clear.  Sorry for your trouble and thanks for the reply and the tutorial.</p>
<p>Kind regards,<br />Olivier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek van Vliet</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-56</link>
		<dc:creator>Derek van Vliet</dc:creator>
		<pubDate>Wed, 09 Sep 2009 18:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-56</guid>
		<description>duponol, when I copied your code into xcode it worked as expected. I see the following output in the console:&lt;br&gt;&lt;br&gt;test has value: first assignment&lt;br&gt;&lt;br&gt;Are you writing an iPhone app or another type of mac app?</description>
		<content:encoded><![CDATA[<p>duponol, when I copied your code into xcode it worked as expected. I see the following output in the console:</p>
<p>test has value: first assignment</p>
<p>Are you writing an iPhone app or another type of mac app?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duponol</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-31</link>
		<dc:creator>duponol</dc:creator>
		<pubDate>Wed, 09 Sep 2009 18:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-31</guid>
		<description>Hey Derek,&lt;br&gt;&lt;br&gt;I&#039;m embaressed to say it but I found my error, it was the second piece of code that diden&#039;t work:&lt;br&gt;&lt;br&gt;NSLog(&quot;singleton: %@&quot;,[Global sharedMySingleton].test);&lt;br&gt;&lt;br&gt;There is no @ in front of the &quot;singleton: %@&quot;, I was so hang up in the singleton that I wasn&#039;t seeing clear.  Sorry for your trouble and thanks for the reply and the tutorial.&lt;br&gt;&lt;br&gt;Kind regards,&lt;br&gt;Olivier</description>
		<content:encoded><![CDATA[<p>Hey Derek,</p>
<p>I&#39;m embaressed to say it but I found my error, it was the second piece of code that diden&#39;t work:</p>
<p>NSLog(&#8220;singleton: %@&#8221;,[Global sharedMySingleton].test);</p>
<p>There is no @ in front of the &#8220;singleton: %@&#8221;, I was so hang up in the singleton that I wasn&#39;t seeing clear.  Sorry for your trouble and thanks for the reply and the tutorial.</p>
<p>Kind regards,<br />Olivier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek van Vliet</title>
		<link>http://getsetgames.com/2009/08/30/the-objective-c-singleton/comment-page-1/#comment-30</link>
		<dc:creator>Derek van Vliet</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=269#comment-30</guid>
		<description>duponol, when I copied your code into xcode it worked as expected. I see the following output in the console:&lt;br&gt;&lt;br&gt;test has value: first assignment&lt;br&gt;&lt;br&gt;Are you writing an iPhone app or another type of mac app?</description>
		<content:encoded><![CDATA[<p>duponol, when I copied your code into xcode it worked as expected. I see the following output in the console:</p>
<p>test has value: first assignment</p>
<p>Are you writing an iPhone app or another type of mac app?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
