Hi Tim,
Try loading the Foundation framework first.
framework 'Foundation'
Laurent
On Jan 5, 2011, at 12:49 AM, Tim Rand wrote:
> I noticed that obj.method(m) is often giving an error. The error given on
> [].methods looks like:
>
> Tim:~/Desktop> macirb
> >> def err(obj)
> >> obj.
On 6/01/2011, at 5:31 PM, Rich Morin wrote:
>> No.
>
> Gotta love categorical answers like this one. They
> always sound so definitive and are all too frequently
> shown to be incorrect.
>
> There's some really interesting work being done in
> this area, so a better answer might be "not soon":
Thanks Matt
But just to be clear is support dependent on the Xcode team or is it
just a mater of the macruby team updating macruby once Xcode has
officially been released.
If your not sure or can not speak to the matter because of NDA thats
fine, I'm just curious in who's hands my future lies. :-
mirah is a project to transform the beauty of ruby to java but with respecting
the rules of java. so mirah forces you to use static typing.god i hope nobody
tries to implement static typing in ruby. dynamic typing is so much more
freedom and thanks to cucumber a breeze :)sorry but i hope this "n
> No.
Gotta love categorical answers like this one. They
always sound so definitive and are all too frequently
shown to be incorrect.
There's some really interesting work being done in
this area, so a better answer might be "not soon":
The Mirah Programming Language
http://www.mirah.org/
On 6/01/2011, at 2:34 PM, Brad Hutchins wrote:
> Will MacRuby eventually allow for optional Static Typing like in Objective-C?
No.
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/mac
Will MacRuby eventually allow for optional Static Typing like in
Objective-C?
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I also documented the process there:
http://ofps.oreilly.com/titles/9781449380373/ch03.html#_using_objective_c_or_c_code
- Matt
Sent from my iPhone
On Jan 5, 2011, at 21:31, Laurent Sansonetti wrote:
> Hi Ruben,
>
> MacRuby cannot call vararg functions without proper BridgeSupport metadata,
Hi Ruben,
MacRuby cannot call vararg functions without proper BridgeSupport metadata,
because there is no way it can determine at runtime if a function is variadic
or not (because the call site must be compiled differently).
You may need to generate a BridgeSupport file for the wrapper you use.
Xcode 4 beta is under NDA and can't be addressed here.
However, the beta doesn't support MacRuby and you should really stay on
version 3 for now.
- Matt
On Wed, Jan 5, 2011 at 7:46 PM, Arron Mabrey wrote:
> Hello,
>
> Is anyone successfully using Macruby in Xcode 4?
>
> I have seen on this list
Hello,
Is anyone successfully using Macruby in Xcode 4?
I have seen on this list that there seem to be problems with Macruby
and IB in Xcode 4.
I'm wondering if that is still the case?
Thanks,
Arron
___
MacRuby-devel mailing list
MacRuby-devel@lists.
Hi all.
I'm trying to build a MacRuby 0.8 app with XCode. I want to interact with
an exisitng Sqlite3 database. Since I don't want to package or mess with
any Rubygem, I decided to look into existing Objective-C Sqlite wrappers.
I've tried PLDatabase and fmdb, and failed with both. The code compi
Hi,
> However, I do not see any struct definitions in the generated bridgesupport
> file.
I found past discussions about C-struct and .bridgesupport. hope this help.
[MacRuby-devel] How to use custom C struct's?
http://www.mail-archive.com/macruby-devel@lists.macosforge.org/msg01492.html
2011
Hi,
I created MacRuby class templates for Xcode 3 on Mac OS X 10.6.
An attached patch contains below.
* misc/xcode-templates/File\ Templates/MacRuby/
* TemplateChooser.plist
* Ruby NSDocument subclass.pbfiletemplate
* Ruby class.pbfiletemplate
* Ruby NSView subclass.pbfiletempla
I noticed that obj.method(m) is often giving an error. The error given on
[].methods looks like:
Tim:~/Desktop> macirb
>> def err(obj)
>> obj.methods(1,1).each do |m|
?> begin
?> obj.method(m)
>> rescue => e
>> p e
>> end
>> end
>> end
=> nil
>> err([])
#
#
#
#
#
#
#
#
15 matches
Mail list logo