[MacRuby-devel] converging for 1.0

2010-11-29 Thread Laurent Sansonetti
Hi guys, Now that the vacations are behind us (well, behind me at least :)), it's time to focus on converging MacRuby for its first stable release, 1.0. My goal is to release it somewhere in 2011 (the sooner the better :)). In order to smoothly achieve that goal, it's also time to accelerate th

Re: [MacRuby-devel] Key Value Observing module

2010-11-29 Thread Caio Chassot
On 2010-11-29, at 14:50 , Alan Skipp wrote: > > There's a brief article here > http://www.oreillynet.com/ruby/blog/2006/01/ruby_design_patterns_observer.html > > The procedure for setting up observers is quite different to KVO and I > imagine it has different advantages/disadvantages to KVO, tho

Re: [MacRuby-devel] require module

2010-11-29 Thread Rob Gleeson
On 29 Nov 2010, at 13:14, Alan Skipp wrote: > Hi everyone, > This is just a quick query about using 'include' in an xcode project. > When creating an instance of a class, a 'require' statement is not needed > beforehand, but to include a module, you must first require it. > > #no need to requir

Re: [MacRuby-devel] Key Value Observing module

2010-11-29 Thread Alan Skipp
There's a brief article here http://www.oreillynet.com/ruby/blog/2006/01/ruby_design_patterns_observer.html The procedure for setting up observers is quite different to KVO and I imagine it has different advantages/disadvantages to KVO, though I must admit I'm not particularly familiar with ruby

Re: [MacRuby-devel] Key Value Observing module

2010-11-29 Thread Matt Massicotte
I'm not familiar with the Ruby observer mechanism you refer to - could you post a link? Matt On Nov 29, 2010, at 6:34 AM, Alan Skipp wrote: > I hope people don't mind me posting this bit of code to the list, but I hope > it will be of some use to others and would also be interested to hear if

[MacRuby-devel] Key Value Observing module

2010-11-29 Thread Alan Skipp
I hope people don't mind me posting this bit of code to the list, but I hope it will be of some use to others and would also be interested to hear if the technique has any problems which I've not foreseen. Ruby has its own means of implementing the observer pattern, but as Key Value Observing (

[MacRuby-devel] require module

2010-11-29 Thread Alan Skipp
Hi everyone, This is just a quick query about using 'include' in an xcode project. When creating an instance of a class, a 'require' statement is not needed beforehand, but to include a module, you must first require it. #no need to require 'Foo' x = Foo.new # must require 'Bar' beforehand requ

Re: [MacRuby-devel] NSEvent MacRuby (updated)

2010-11-29 Thread András Zalavári
Hi Laurent! I have downloaded the nightly build, and it works perfectly! Thank you very much. It's nice to have a great support behind MacRuby. It feels much better to rely on a product that has this fast responsible support. Thanks a lot! Andras ___ M