John J. wrote:
the Hillegass book. This is poised to change at the end of this month
with the new Objective-C 2 and a new XCode as well.
But, you can do GUI stuff with RubyTk, WxRuby or Qt libraries for
Ruby as well.
It’s a little less learning curve than Cocoa, but a whole different
approach and you can use that stuff for cross-platform work.
The principle of reading a book on using Ruby is to learn ruby. GUI
Programming is done using libraries, for example C, C++, and Perl do not
any thing built in for GUI programming. Yet they are some of the most
languages, even for GUI applications. You are not required to create a
So you need a GUI Library or ‘toolkit’ that suits your needs, this often
done to Windows / Mac native (some one piss on the Win32 C API please),
QT, or TK. – Programs written in GTK/QT/TK/Toolkit foo won’t look the
if you used what your OS provides. But you won’t have to write the GUI
for each OS.
QTRuby is my favorite, largely because I love the C++ Documentation that
with QT, it’s great. And I find QT well enough suited to GUI
since it’s easy enough to write by hand. Even though QT Designer allows
use a GUI Builder and code generation for the graphical parts make it
Java is a bit different in how it has it’s own GUI toolkit(s) but Java
different in how it runs. Although I’m sure that has changed a lot since
Java Sourcebook came out… hehe.