<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - chrisaiv</title>
<link>http://snipplr.com/users/chrisaiv/tags/Singleton</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 17:08:35 GMT</pubDate>
<item>
<title>(ActionScript 3) AS3: Singleton Event Controller</title>
<link>http://snipplr.com/view/29781/as3-singleton-event-controller/</link>
<description><![CDATA[ <p>Simple, elegant solution that demands re-broadcast.  Author's explanation of the class: So I had the stage listen for the keyboward event, and when it heard it, dispatch it through this singlton instance, whcih the scroller can invoke as a listener, and viola, it worked perfectly! All events that need to travel all over the project, to parents, grandparents, and to all points in the display list, will now do so through this great EventCentral singleton.</p> ]]></description>
<pubDate>Mon, 15 Mar 2010 11:03:08 GMT</pubDate>
<guid>http://snipplr.com/view/29781/as3-singleton-event-controller/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: My favorite example of Singleton</title>
<link>http://snipplr.com/view/22245/as3-my-favorite-example-of-singleton/</link>
<description><![CDATA[ <p>There are a variety of ways to create a Singleton in AS3 but because Adobe wants to be ECMA compliant, there's no way to do it (like in Java) using a private constructor.  Writing a singleton this way will give you a runtime warning if something goes wrong.</p> ]]></description>
<pubDate>Sat, 31 Oct 2009 17:56:17 GMT</pubDate>
<guid>http://snipplr.com/view/22245/as3-my-favorite-example-of-singleton/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Singleton Explanation</title>
<link>http://snipplr.com/view/20996/as3-singleton-explanation/</link>
<description><![CDATA[ <p>Apparently Singletons in AS3 is pretty controversial so rather than provide the various solutions out there, my intent was to explain why it's such a headache.</p> ]]></description>
<pubDate>Sun, 11 Oct 2009 12:48:23 GMT</pubDate>
<guid>http://snipplr.com/view/20996/as3-singleton-explanation/</guid>
</item>
<item>
<title>(Ruby) Mixing in a Module immediately after an objects Singleton class</title>
<link>http://snipplr.com/view/6821/mixing-in-a-module-immediately-after-an-objects-singleton-class/</link>
<description><![CDATA[ <p>There are two ways to insert a module above the objects singleton class but before the objects Class</p> ]]></description>
<pubDate>Fri, 20 Jun 2008 19:58:38 GMT</pubDate>
<guid>http://snipplr.com/view/6821/mixing-in-a-module-immediately-after-an-objects-singleton-class/</guid>
</item>
</channel>
</rss>