[MacRuby-devel] NSTimer
Robert Rice
rice.audio at pobox.com
Sun Oct 11 09:19:58 PDT 2009
Congratulations MacRuby Development Team:
My application almost runs now in MacRuby.
Is NSTimer class supported in MacRuby?
I was doing background processing using NSTimer as follows:
@timer = NSTimer.scheduledTimerWithTimeInterval( 5.0, :target,
self, :selector, :periodicUpdate, :userInfo, nil, :repeats, true )
but this now gives me the error:
undefined method `scheduledTimerWithTimeInterval' for NSTimer:Class
(NoMethodError)
Do you have a preferred method for doing backgound tasks in MacRuby -
perhaps separate threads?
Thanks,
Bob Rice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20091011/0ea8908c/attachment.html>
More information about the MacRuby-devel
mailing list