macruby
Dynamic refresh in a view - xcode 4 / interface builder
I\'m new to xcode so please bear with me. I have a label that I have set to blank, and after a user clicks \'go\' I generate a random word or number and use:[详细]
2023-03-08 00:01 分类:问答Accessing Apple Authorization Services with MacRuby
I\'m working on a MacRuby application that needs to make updates to config files in the /etc directory. In the command line version of the application, this prompts a password and then allows the acce[详细]
2023-03-05 18:14 分类:问答Ruby: How to handle a Failed or Invalid Initialization
What is the ruby best practice for handling a situation in which an object should fail to initialize owing to being passed invalid initialize arguments?[详细]
2023-03-05 15:49 分类:问答Ruby Testing: Testing for the Absence of a Method
In rspec and similar testing frameworks, how does one test for the absence of a method? I\'ve just started fiddling with rspec and bacon (a simplified version of 开发者_C百科rspec.) I wanted to defin[详细]
2023-03-05 15:47 分类:问答Calling the setTitle method on an NSMenuItem object is not changing the displayed title, but is changing the property
Using MacRuby with XCode, I would like to be able to change the title of an item in my application\'s menu.[详细]
2023-02-21 04:48 分类:问答Calling MacRuby via JavaScript with the windowScriptObject and WebKit
I have a new MacRuby application. I\'m trying to call a MacRuby method from JavaScript loaded in a webView within the application.[详细]
2023-02-15 22:51 分类:问答MacRuby & Interface Builder properties
I need some help with getting deeper into MacRuby and XCode, especially the part where I can access various library component properties/methods. I need some kind of reference I guess.[详细]
2023-02-13 12:00 分类:问答Interactive shell mechanism with MacRuby/XCode
I have the following noobie class: class CoreController < NSWindowController attr_accessor :consoleOutput, :consoleInput, :command, :parsedcommand[详细]
2023-02-13 11:12 分类:问答MacRuby + Interface Builder: How to display, then close, then display a window again
I\'m a complete n00b with MacRuby and Cocoa, so keep that in mind when answering - I need lots of details and explanation. :)[详细]
2023-02-07 18:28 分类:问答Can you use MacRuby to develop applications for the Mac App Store?
I have some basic familiarity with Objective-C, but prefer Ruby, so I\'m thinking of playing around with MacRuby. Is it possible to use MacRuby to develop applications for the Mac App Store, or do I h[详细]
2023-02-03 11:30 分类:问答