26 Sep
2008
26 Sep
'08
6:40 a.m.
こんにちはさとしさん! Thanks for porting and committing the GrowlNotifier example. I have a few comments: 1) Could it be moved to sample-macruby/Scripts instead? I think it's a better destination, the root directory only has Xcode-based samples for the moment. 2) It is not necessary to explicitly inherit of NSObject. For example class Notifier < NSObject can be written as class Notifier because $ macirb
class X; end => nil X.ancestors => [X, NSObject, Kernel]
3) It might perhaps be a good idea to ship growl.rb with MacRuby and also provide a HotCocoa mapping for it. Like we do for layout_view.rb. Thoughts anyone? Laurent