Hi,
I'm creating an application in RubyCocoa and I have this code:
fileContents = OSX::NSAttributedString.alloc.initWithData_options_documentAttributes_error_(data, null, null, outError)
It gives me this error:
2009-12-31 19:42:54.317 Ruby Text[3791:a0f] MyDocument#readFromData_ofType_error_: OSX::OCMessageSendException: Can't get O...
Hi,
I guess the title is very clear.
I would like to handle the Application exit event in RubyCocoa in order to write a file just before closing.
Thanks for your help
...
Hi,
Could you tell me plz - how to catch system information like os version, installed apps versions, hardware details using macruby or ruby cocoa?
...
Hi, it's a theoretical question: suppose I come up with an outstanding new scripting language and want to make a Cocoa bridge for that.
Is it possible to make Interface Builder recognize the new language and parse the source code automatically so that it can list the IBActions and IBOutlets, just as it already does for Objective-C's .h,...
Hi,
I'm new to rubycocoa and i'm implementing an nstableView. I have saved all data to a plist file. Now when i tried to reload my data to the tableView my program becomes unresponsive and when quit it, it gives the message: No memory available to program now: unsafe to call malloc. My program stops somewhere in this method:
def tableV...
Hi,
How would I invoke an external application through the RubyCocoa bridge? I read something about NSTask, yet I have no idea how this should be translated in RubyCocoa. My goal is to have an IB_action to trigger a method which will run a terminal application with some parameters, i.e. ls -p $mydir, where mydir comes from an IB_outlet ...
Hi,
While playing with RubyCocoa, I keep progressing with my idea for my application. Because my application will be going to use configuration files, I would like to know how I discover the relative path to store these inside my application structure (or if a better idea emerges, please elaborate also the "why").
Also good for me to ...
Hi,
While I am playing with Rubycocoa, I created a small application that works like a charm. However, the only thing missing is like a Terminal inside my application. In Coda, there is a similar kind of view that allows you to open up a terminal session. How would I create a Terminal view like this inside Interface Builder and Xcode?
...