<?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"
	>
<channel>
	<title>Comments on: MacRuby Random Number Generator Tutorial</title>
	<atom:link href="http://foolsworkshop.com/rubycocoa/2008/06/macruby-random-number-generator-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://foolsworkshop.com/rubycocoa/2008/06/macruby-random-number-generator-tutorial/</link>
	<description>A weblog dedicated to development with RubyCocoa and MacRuby on OS X</description>
	<pubDate>Fri, 12 Mar 2010 13:52:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Michael Leung</title>
		<link>http://foolsworkshop.com/rubycocoa/2008/06/macruby-random-number-generator-tutorial/#comment-29</link>
		<dc:creator>Michael Leung</dc:creator>
		<pubDate>Fri, 31 Oct 2008 21:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://foolsworkshop.com/rubycocoa/?p=15#comment-29</guid>
		<description>These MacRuby screencasts are awesome. Keep 'em coming!</description>
		<content:encoded><![CDATA[<p>These MacRuby screencasts are awesome. Keep &#8216;em coming!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K. M. Lawson</title>
		<link>http://foolsworkshop.com/rubycocoa/2008/06/macruby-random-number-generator-tutorial/#comment-28</link>
		<dc:creator>K. M. Lawson</dc:creator>
		<pubDate>Sun, 26 Oct 2008 09:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://foolsworkshop.com/rubycocoa/?p=15#comment-28</guid>
		<description>Hello Fred, I am not sure why I did that. I think NSObject is what I would I have done if I was thinking it through. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello Fred, I am not sure why I did that. I think NSObject is what I would I have done if I was thinking it through. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fred b.</title>
		<link>http://foolsworkshop.com/rubycocoa/2008/06/macruby-random-number-generator-tutorial/#comment-27</link>
		<dc:creator>fred b.</dc:creator>
		<pubDate>Sat, 25 Oct 2008 14:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://foolsworkshop.com/rubycocoa/?p=15#comment-27</guid>
		<description>Hi Konrad, many thx for your excellent idea to follow Aaron Hillegass book, I am trying to learn in parallel Cocoa/Obj-c and MacRuby. Any reason why you chose to subclass MyController from NSWindowController? I tried to stick to Aaron example, and subclassed a Foo class from NSObject, and also does the job:

class Foo &#60; NSObject
attr_accessor :messages	
def seed(sender)
t = Time.now
srand t.to_i
@messages.stringValue="Generated seed using time: "+t.to_s
end
def generate(sender)
@messages.stringValue=(rand(100)+1).to_s
end
def awakeFromNib	   @messages.stringValue="Click seed first..."	
end
end</description>
		<content:encoded><![CDATA[<p>Hi Konrad, many thx for your excellent idea to follow Aaron Hillegass book, I am trying to learn in parallel Cocoa/Obj-c and MacRuby. Any reason why you chose to subclass MyController from NSWindowController? I tried to stick to Aaron example, and subclassed a Foo class from NSObject, and also does the job:</p>
<p>class Foo &lt; NSObject<br />
attr_accessor :messages<br />
def seed(sender)<br />
t = Time.now<br />
srand t.to_i<br />
@messages.stringValue=&#8221;Generated seed using time: &#8220;+t.to_s<br />
end<br />
def generate(sender)<br />
@messages.stringValue=(rand(100)+1).to_s<br />
end<br />
def awakeFromNib	   @messages.stringValue=&#8221;Click seed first&#8230;&#8221;<br />
end<br />
end</p>
]]></content:encoded>
	</item>
</channel>
</rss>
