> I wrote my piece in nu, but I'd love some other submissions, in case
> macrake had support for building frameworks, or if somebody had a rake
> file to do it.
Rakefile sorted. That was fast.
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge
Hey guys,
I created a project to demo creating a framework from the command-line.
http://github.com/diffengr/CommandLineCocoaFramework
I wrote my piece in nu, but I'd love some other submissions, in case
macrake had support for building frameworks, or if somebody had a rake
file to do it.
Thank
> Note that this API is to control the MacRuby debugger.
My mistake, I thought MacRuby was using some debugger-fu that would be
more generally applicable.
Thanks
Clay
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosf
Like some of you, I keep tabs on MacRuby and nu. I showed the nu guys
this quote from the 0.6 release:
"An interesting feature of the debugger is that it has been abstracted
into a simple Objective-C API, of which macrubyd is just one client.
In the future we might see other clients." [1]
Tim Bur
If it matters, I'm on SL.
cb
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Does anyone have an answer to this? Are the Objective-C "bundles" that
MacRuby loads in require statements really dylibs? Are they real
bundles?
Thanks
Clay
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/ma
Does MacRuby 0.5 rescue Objective-C NSExceptions? e.g.
begin
# call to Objective C dynlib here, raises NSException
rescue
# should this get called?
end
Thanks
Clay
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macos
Hi gang,
I was checking out the potential changes to the website, particularly
create-an-objective-c-bundle.txt, and that inspired me to ask a
longstanding question. I know very little about this stuff, but from
what I could discern, it looks like MacRuby is loading what are
technically dylibs, an
Forgive my caveman-programmer terminology, but it seems to overwrite
the class symbol. Extending Laurent's example (kind of):
gort:~ clay$ macruby -e "p NSPredicate.object_id; p
NSPredicate.methods(false,true); class NSPredicate; def hey;end; end;
p NSPredicate.object_id; p NSPredicate.methods(fal
On Fri, Aug 21, 2009 at 3:25 PM, Laurent
Sansonetti wrote:
> I see, I haven't tried with 0.4. Maybe the problem is fixed in trunk :-)
My bad, I try to specify. Yes, it's 0.4.
Thanks
Clay
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
main):012:0> Bar.object_id
=> 4298834304
irb(main):013:0> class Bar
irb(main):014:1> def drink
irb(main):015:2> p 'tasty!'
irb(main):016:2> end
irb(main):017:1> end
=> nil
irb(main):018:0> Bar.object_id
=> 4298834304
Thanks
Clay Br
n do to help.
* The probably-too-frequent question: Any idea if this will be fixed in 0.5?
Thanks
Clay Bridges
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
e (among other things):
candy_test.rb:7:in `': undefined method `flavor' for
# (NoMethodError)
rake aborted!
So, what am I doing wrong?
Thanks,
Clay Bridges
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi all,
When I was first figuring out how to call my ObjC classes from MacRuby, I
greatly benefited from Pieter de Bie's excellent minimal, xcode-free example
of this, macruby-bundle-example. I spiffed it up a bit. Here's the github
link: http://github.com/diffengr/macruby-bundle-example.
It mig
Thank you, Laurent. That was *incredibly* helpful and kind of you, and
worked perfectly. Being able to add MapPoint#to_a and MapPoint[row,col]
methods was the "oh, ruby, you *are* magic" moment of it all.
I was going to try to pay it back by putting it up on a wiki, but Jordan
beat me to it. I LOL
> Yes, use RubyCocoa
I'm afraid I'm already hooked. ;)
If it comes down to it, I've already put a testing-only category wrapper
around one method, e.g.
#import "Cell.h"
@interface Cell (TestUtil)
@property (readonly) NSArray* mapPointAsArray;
@end
@implementation Cell (TestUtil)
@dynamic ma
. Before I started a
deep-dive on the MacRuby source, and/or the standard ruby way to
handle this sort of thing, I thought I would ask a couple of
questions:
1) Any easy advice?
2) Is this different in MacRuby than in ruby proper?
3) Any pointers into the MacRuby source that might h
17 matches
Mail list logo