From: Ferlander D. <fer...@gm...> - 2009-08-12 03:34:15
|
I've been having some trouble. My app relies on a executing a ruby script in intervals of hours. During the intervening time the script stays in a sleep loop. The problem is that it needs to update the UI with at least some information every once in a while. I'm currently using a progress bar, because for some reason it can refresh from inside a running script. I don't think that's enough though. Of course, ideally I would also like to find a solution to the beachballing cursor and generally unresponsive UI. I found http://minikidsgames.sourceforge.net/rubycocoa/tips-and-pitfalls-in-using-rubycocoa/#content_Object_3 but unfortunately it's over my head. I was wondering if anyone had any suggestions, or if there might be a more obvious solution that I've missed so far. I'm in love with the program I'm writing and I want it to be usable by the general public. =) Ferlander |