I'm pretty new to Cocoa, so maybe I'm overlooking the obvious here. I
just want to make sure I'm not doing more work than necessary.
I'd like to be able to control the minimum size for a NSSplitView. As
I understand it, I need to have a delegate with a method that can handle
splitView:con
I'm having difficulty working with bindings and I'm not sure if it's a
MacRuby thing or my poor understanding of how they work.
I've tried binding to two types of things - an NSMatrix of radio
buttons (binding to "selectedTag") and a Checkbox value.
Using just an attr_accessor - the variabl
Date: Fri, 21 Nov 2008 15:43:38 -0500
From: Benjamin Stiglitz <[EMAIL PROTECTED]>
Subject: Re: [MacRuby-devel] What's the best way to implement a
delegate/action with multiple parameters?
To: "MacRuby development discussions."
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/pl
for example:
attr_accessor :billy # will create setter and getter for billy with
all the appropritate KVO methods
def updateMyValue(sender) #called from a button perhaps
setBilly(4)
end
#or setValue:4 forKey:billy
[EMAIL PROTECTED] = 4 will not work, because it bypasses the accessor me
On Nov 24, 2008, at 4:38 PM, Patrick Bennett wrote:
No one? I check out a clean copy of macruby, it fails to build
(just running rake like it says), and NO ONE replies? :(
I did have a similar problem. I did things similarly - installed
first using the 0.3 binary, and then built from th
Hi all,
Is there a particular framework that's required in order to use
'Pointer.new_with_type'?
I'm using the trunk (build 809) and it's apparently not available in
either my Xcode project or in macirb.
Is there an alternative method for working with pointers?
My specific case is that
On Feb 5, 2009, at 10:53 AM, Michael Winterstein wrote:
Hi all,
Is there a particular framework that's required in order to use
'Pointer.new_with_type'?
I'm using the trunk (build 809) and it's apparently not available in
either my Xcode project or in macirb.
. Then you would be
able to load the framework in MacRuby and call those methods.
On Fri, Feb 6, 2009 at 12:24 AM, Michael Winterstein
wrote:
On Feb 5, 2009, at 10:53 AM, Michael Winterstein wrote:
Hi all,
Is there a particular framework that's required in order to use
'Pointer.new_
On Sep 26, 2009, at 8:38 PM, MacRuby wrote:
#351: problem with macruby build (rake)
---
+
Reporter: sergei.homja...@… | Owner: lsansone...@…
Type: defect | Status: new
Prior
ce, 0x1)
as an Objective-C object.
Laurent
On Oct 6, 2009, at 12:58 PM, Michael Winterstein wrote:
I seem to have run into nearly the same problem that I had a while
back, in this ticket:
http://www.macruby.org/trac/ticket/221
I haven't filed it yet this time since last time it turne
r2778 works fine. Great to have some specs in there.
On Oct 9, 2009, at 7:40 PM, MacRuby wrote:
#374: Adding a binding (in IB) prevents instance variables
-
+--
Reporter: parzi...@… |Owner: lsanson
I'm not sure if this is a known bug, or related to any open issues with
bindings, but I found this while messing around (using r3059):
# This works
lv1 = 1
lv2 = 2
lv1_binding = lv1.send(:binding)
lv2_binding = lv2.send(:binding)
# This fails.
class A
lv1 = 1
lv2 = 2
lv1_binding = lv1.send(:bi
12 matches
Mail list logo