Re: [MacRuby-devel] MacRuby Book discount

2011-01-18 Thread Alistair Holt
I've happily purchased a copy, thanks Matt! You've done a great job. I've been reading the online version as you've been writing it and have found it to be a really excellent book. - Alistair Holt On 17 January 2011 18:34, Matt Aimonetti wrote: > O'Reilly is ru

Re: [MacRuby-devel] How to use NSIndexSet with tableView data

2010-10-23 Thread Alistair Holt
As always, the docs are your friend. Look up the enumeration methods in http://developer.apple.com/library/mac/documentation/cocoa/reference/foundation/Classes/NSIndexSet_Class/Reference/Reference.html -- Alistair Holt On 23 Oct 2010, at 13:14, Pixoo wrote: > NSIndex

Re: [MacRuby-devel] Mixing ruby code with Objective-C code within a Cocoa project...

2010-10-22 Thread Alistair Holt
Hi Ric I think I'm right in saying that you can mix the two languages but not in the same file. Also, you wont be able to use Ruby to write anything for iOS as it's not currently supported. -- Alistair Holt On 22 Oct 2010, at 18:32, "Frederick C. Lee" wrote: > Greet

Re: [MacRuby-devel] Profiling macruby code

2010-10-21 Thread Alistair Holt
Instruments? On 21 Oct 2010, at 18:35, corey johnson wrote: > Has anyone successfully profiled a running macruby (0.7) app? I've > tried using Ruby's built in __Profiler and Ruby-Prof but both fail to > run. Is there a Cocoa specific app that can be used? > > Thanks, > Corey > _

Re: [MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Alistair Holt
MacRuby FTW! :) Alistair Holt On 14 October 2010 22:59, Laurent Sansonetti wrote: > Hi Alistair, > > Yes, you just use the Embed target and you should be fine :) > > Let us know if you have any question. > > Laurent > > On Oct 14, 2010, at 8:11 AM, Alistair Holt

Re: [MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Alistair Holt
bedding. > - If you create a MacRuby project with the MacRuby Xcode template, you will > have a "release" (or something similar) configuration that will do it for you > (if I'm not mistaken). > > -- > Thibault Martin-Lagardette > > > On Thu, Oct 14, 20

[MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Alistair Holt
release notes I'm not sure if editing rb_main.rb is actually required anymore? Thanks Alistair Holt ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

[MacRuby-devel] "unknown required load command"

2009-12-26 Thread Alistair Holt
rrors logged to the console can be found at https://gist.github.com/21f82c11499e0da754e5. I built the app for 10.5 x86_64 with MacRuby embedded. Does anyone have any ideas what the issue might be? Thanks Alistair Holt E: [email protected] W: alistairholt.co.uk / http://www.linkedin.c

Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

2009-08-30 Thread Alistair Holt
; [[error description] UTF8String]); >> } >> >> In other words, -[NSBundle loadAndReturnError:] doesn't seem to work. This >> looks like a problem in Foundation. >> >> Could you try the following snippets? >> >> $ macruby -e "p >

Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

2009-08-29 Thread Alistair Holt
9 Alistair Holt > I've just upgraded to Snow Leopard and installed again from trunk but I'm > still having the same issue with not being able to load the Cocoa framework > in macirb. :( > Alistair > > 2009/8/26 Alistair Holt > > Perhaps I'll give insta

Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

2009-08-29 Thread Alistair Holt
I've just upgraded to Snow Leopard and installed again from trunk but I'm still having the same issue with not being able to load the Cocoa framework in macirb. :( Alistair 2009/8/26 Alistair Holt > Perhaps I'll give installing another go. I did install 0.4 and went onto &g

Re: [MacRuby-devel] Is There A List of Gems That Don't Install on 0.4?

2009-08-27 Thread Alistair Holt
Sounds like you could do with checking out Peepcode's MacRuby screencast. You can use things like NSURL and NSXMLDocument instead of relying on gems being compatible with MacRuby. Alistair On 27 Aug 2009, at 21:26, "s.ross" wrote: I'm wanting to access a Web service via XML-RPC. My Ruby so

Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

2009-08-26 Thread Alistair Holt
> trunk today, everything is back to normal. > > - Matt > > > On Mon, Aug 24, 2009 at 2:38 AM, Alistair Holt wrote: > >> Hi Laurent, >> Thanks for the reply. I ran it and got: >> >> ~ $ macruby -e "framework '/System/Library/Frameworks/Cocoa.fra

Re: [MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

2009-08-24 Thread Alistair Holt
Hi Laurent, Thanks for the reply. I ran it and got: ~ $ macruby -e "framework '/System/Library/Frameworks/Cocoa.framework'; p :ok" :ok My filesystem is definitely not case sensitive. Alistair Holt 2009/8/24 Laurent Sansonetti > Hi Alistair, > > This is very

[MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

2009-08-23 Thread Alistair Holt
7;m running 10.5.8 on a MacBook Pro 2.4Ghz Intel Core 2 Duo. Hard disk format is Mac OS Extended (Journaled). Hopefully someone can help me out. Thanks Alistair Holt E: [email protected] W: koopd.com / http://www.linkedin.com/in/alistairholt ___ MacRu