Re: [MacRuby-devel] MacRuby promise delivered

2011-11-25 Thread Andy Park
I've been hacking on a fork of Interactive-MacRuby since a month or so ago, and 
as I now think I won't be able to find the time to distill my experience to a 
more presentable form any time soon, I'll just share my not-so-tidy work in 
progress and my current repl-based workflow in case others may find it useful 
and/or could take it further.

https://github.com/sohocoke/interactive-macruby/tree/temp-hack is the fork to 
which I added a few things:
- show (mac)ruby ivars inline when inspecting objects
- load_rc - loads my .irbrc and .macirbrc files
- load_repl - scans the app bundle for and load files with an .rb-repl extension
- load_src - relies on a (debug-only) global variable defined in the project's 
.rb-repl file, to reload the source of a class from the project's source (not 
bundle)

This gives me the ability to open a console window when I need to investigate 
my app at runtime, and to quickly load some infra to carry for investigation / 
fixing.

Then in my *rc files, I have, among other things, the following definitions:
- https://gist.github.com/1320400 - some routines that allow me to obtain 
quickly references to objects by their id or class
- https://gist.github.com/1393479 - some methods that can wrap existing methods 
for logging or additional investigative behaviour

I typically use these to find objects to which I add traces, add or replace 
behaviour, then when I think I got it right I edit the source in the XCode 
project and load the changed source. 

Obviously there are times when the changes need to be around events of the 
object that I cannot cleanly retrigger from a REPL, such as when nib wiring or 
awakeFromNib must be changed, so I still find myself restarting the debug 
session every now and then. But for small tweaks these facilities allow me to 
make changes and apply them in a relatively short cycle.

I also yearned for improved / prettier handling of the code I typed into the 
console as I was using Interactive-MacRuby, but now I'm mostly satisfied with 
one-line statements in the console, and reloading source after modifications if 
it spans a few lines.

Hope this is of interest to some. Thanks Eloy and others.
 

On 25 Nov 2011, at 01:28, Michael Johnston wrote:

> Thanks Eloy. I was playing with Interactive-MacRuby a bit last night.
> 
> I think the first step to using it would be to make a target to compile as a 
> framework and make it cocoa pod-able. Then wiring up so can launch in app 
> terminals with the app delegate or a particular window controller as top 
> level object.
> 
> I was trying to figure out how to make it indent code as it is typed which 
> irb does. Any thoughts on that?
> 
> Cheerio,
> 
> Michael Johnston
> [email protected]
> 
> 
> 
> 
> On 2011-11-24, at 2:13 PM, Eloy Duran wrote:
> 
>> Here’s a GUI approach to using macirb: 
>> https://github.com/alloy/Interactive-MacRuby
>> 
>> I didn’t have time to finish it yet, but it might still be useful.
>> 
>> On 24 nov. 2011, at 02:52, Michael Johnston wrote:
>> 
>>> I added basic fsevents reloading in my fork 
>>> (https://github.com/lastobelus/MacRubyReload)
>>> 
>>> Should change to check an environment var first for list of directories to 
>>> watch, and otherwise use project root. For now I just grabbed the dir of 
>>> the rb_main.loc.txt entry.
>>> 
>>> I'm curious to experiment with automating the dynamic reloading of nib 
>>> files. Anyone have any tips for that? The problem is that there are many 
>>> patterns for using nibs, so it will be difficult to fully automate. But 
>>> perhaps we can at least make it easy for common cases.
>>> 
>>> Another next step would be to attach a panel to any window with a running 
>>> macirb in it whose top-level context is the window controller for that 
>>> window. That might be actually fairly easy to do.
>>> 
>>> 
>>> Cheerio,
>>> 
>>> Michael Johnston
>>> [email protected]
>>> 
>>> 
>>> 
>>> 
>>> On 2011-11-15, at 10:01 AM, Jean-Denis MUYS wrote:
>>> 
 Following up on my Friday suggestion, I am happy to announce that I 
 implemented a first version a Xcode MacRuby projects that dynamically 
 reloads Ruby source code into a running application, allowing for a very 
 dynamic incremental programming style.
 
 go to https://github.com/jdmuys/MacRubyReload to download the project. The 
 ReadMe.markDown text file gives full instructions.
 
 Hopefully MacRuby Xcode templates can evolve to automatically provide a 
 similar facility.
 
 This is all very simple and very primitive. There is a lot of room for 
 improvement. I also apologize for my Ruby style: I probably haven't 
 written more than 100 or so lines of Ruby code overall yet.
 
 I hope this gets the ball rolling.
 
 Jean-Denis
 
 ___
 MacRuby-devel mailing list
 [email protected]
 http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>

Re: [MacRuby-devel] MacRuby: the definitive guide

2011-11-25 Thread François Boone
Thank you so much for your time.
I find my error, but for me this looks odd.
My error comes from the Table column setting as you pointed to me.
I made the text Field Cell editable, but not the Table Column. Since the Test 
Field Cell depends on Table Column, I suppose the settings of Table Column 
overwrite ones of Text Field Cell. That makes sense.

I will go on with the book 
Thanks a lot
Have a nice day

François


Le 2011-11-24 à 18:18, Matt Aimonetti a écrit :

> Francois, feel free to contact me off the mailing list if you have more 
> questions regarding the book.
> 
> 
> page 129, for Actors.
> In Table View, col. one: I can not edit the cell when I run the program.
> I open the CoreDataExample and I compare carefully my settings ... without 
> find something ...
> I am on Mac OS Snow, 10.6.8 and I use Xcode3.2.6
> 
> I left the old Xcode 3 example in the Git repo, can you please give it a try?
> https://github.com/mattetti/MacRuby--The-Definitive-Guide/tree/master/chapter_7
> Or maybe I misunderstood and you are saying that the example works but your 
> code doesn't?
> 
> If that's the case make sure your Actors array controller is set properly, 
> here is a screenshot from when the code was running under Xcode 3:
> https://img.skitch.com/2025-pwuwercmpxe3tn2kit6bst9pnu.jpg
> 
> And make sure you are trying to set the bindings properly, kind of like in 
> this Xcode 3 example for movies:
> https://img.skitch.com/2025-cbwjmdgu6enj8sqd7wb2tw1yf3.jpg
> 
> The other thing you can check is that the Table Column is marked as editable 
> (in the table column settings).
> 
> p130, the explanation for choosing another cell class doesn't work: In the 
> identity tab, in class identity field, I can not choose NSButtonCell for 
> example. What I have to do is to drag from class library the NSButtonCell to 
> the cell in my table and the the class identity field is set to 
> NSButtonClass. Maybe it' the right way to do this... I am just a beginner !
> 
> 
> In Xcode 4 it autocompletes... it might be a problem with Xcode 3 behaving 
> differently, sorry. But I'm glad you found a workaround,
> 
> - Matt
> 
> One more thing :)
> p130, the explanation for choosing another cell class doesn't work: In the 
> identity tab, in class identity field, I can not choose NSButtonCell for 
> example. What I have to do is to drag from class library the NSButtonCell to 
> the cell in my table and the the class identity field is set to 
> NSButtonClass. Maybe it' the right way to do this... I am just a beginner !
> 
> 
> 
> 
> 
> On Thu, Nov 24, 2011 at 3:56 PM, Matt Aimonetti  
> wrote:
> Hello François,
> 
> The book covers Xcode 4.x and not 3.x, but I'll try to see what could be the 
> problem and I'll get back to you shortly.
> 
> - Matt
> 
> 
> 2011/11/24 François Boone 
> HI,
> 
> I don't know if it's the right forum to post my question and I apologize if 
> not.
> 
> I have just bought The definitive guide to learn Macruby and tools to develop 
> some applications.
> However, I have a problem.
> 
> page 129, for Actors.
> In Table View, col. one: I can not edit the cell when I run the program.
> I open the CoreDataExample and I compare carefully my settings ... without 
> find something ...
> I am on Mac OS Snow, 10.6.8 and I use Xcode3.2.6
> 
> One more thing :)
> p130, the explanation for choosing another cell class doesn't work: In the 
> identity tab, in class identity field, I can not choose NSButtonCell for 
> example. What I have to do is to drag from class library the NSButtonCell to 
> the cell in my table and the the class identity field is set to 
> NSButtonClass. Maybe it' the right way to do this... I am just a beginner !
> 
> Thank you for reply.
> 
> Have a nice day.
> François
> 
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby: the definitive guide

2011-11-25 Thread Matt Aimonetti
Glad I was able to help, bonne chance avec le reste du bouquin.

- Matt

2011/11/25 François Boone 

> Thank you so much for your time.
> I find my error, but for me this looks odd.
> My error comes from the Table column setting as you pointed to me.
> I made the text Field Cell editable, but not the Table Column. Since the
> Test Field Cell depends on Table Column, I suppose the settings of Table
> Column overwrite ones of Text Field Cell. That makes sense.
>
> I will go on with the book 
> Thanks a lot
> Have a nice day
>
> François
>
>
> Le 2011-11-24 à 18:18, Matt Aimonetti a écrit :
>
> > Francois, feel free to contact me off the mailing list if you have more
> questions regarding the book.
> >
> >
> > page 129, for Actors.
> > In Table View, col. one: I can not edit the cell when I run the program.
> > I open the CoreDataExample and I compare carefully my settings ...
> without find something ...
> > I am on Mac OS Snow, 10.6.8 and I use Xcode3.2.6
> >
> > I left the old Xcode 3 example in the Git repo, can you please give it a
> try?
> >
> https://github.com/mattetti/MacRuby--The-Definitive-Guide/tree/master/chapter_7
> > Or maybe I misunderstood and you are saying that the example works but
> your code doesn't?
> >
> > If that's the case make sure your Actors array controller is set
> properly, here is a screenshot from when the code was running under Xcode 3:
> > https://img.skitch.com/2025-pwuwercmpxe3tn2kit6bst9pnu.jpg
> >
> > And make sure you are trying to set the bindings properly, kind of like
> in this Xcode 3 example for movies:
> > https://img.skitch.com/2025-cbwjmdgu6enj8sqd7wb2tw1yf3.jpg
> >
> > The other thing you can check is that the Table Column is marked as
> editable (in the table column settings).
> >
> > p130, the explanation for choosing another cell class doesn't work: In
> the identity tab, in class identity field, I can not choose NSButtonCell
> for example. What I have to do is to drag from class library the
> NSButtonCell to the cell in my table and the the class identity field is
> set to NSButtonClass. Maybe it' the right way to do this... I am just a
> beginner !
> >
> >
> > In Xcode 4 it autocompletes... it might be a problem with Xcode 3
> behaving differently, sorry. But I'm glad you found a workaround,
> >
> > - Matt
> >
> > One more thing :)
> > p130, the explanation for choosing another cell class doesn't work: In
> the identity tab, in class identity field, I can not choose NSButtonCell
> for example. What I have to do is to drag from class library the
> NSButtonCell to the cell in my table and the the class identity field is
> set to NSButtonClass. Maybe it' the right way to do this... I am just a
> beginner !
> >
> >
> >
> >
> >
> > On Thu, Nov 24, 2011 at 3:56 PM, Matt Aimonetti 
> wrote:
> > Hello François,
> >
> > The book covers Xcode 4.x and not 3.x, but I'll try to see what could be
> the problem and I'll get back to you shortly.
> >
> > - Matt
> >
> >
> > 2011/11/24 François Boone 
> > HI,
> >
> > I don't know if it's the right forum to post my question and I apologize
> if not.
> >
> > I have just bought The definitive guide to learn Macruby and tools to
> develop some applications.
> > However, I have a problem.
> >
> > page 129, for Actors.
> > In Table View, col. one: I can not edit the cell when I run the program.
> > I open the CoreDataExample and I compare carefully my settings ...
> without find something ...
> > I am on Mac OS Snow, 10.6.8 and I use Xcode3.2.6
> >
> > One more thing :)
> > p130, the explanation for choosing another cell class doesn't work: In
> the identity tab, in class identity field, I can not choose NSButtonCell
> for example. What I have to do is to drag from class library the
> NSButtonCell to the cell in my table and the the class identity field is
> set to NSButtonClass. Maybe it' the right way to do this... I am just a
> beginner !
> >
> > Thank you for reply.
> >
> > Have a nice day.
> > François
> >
> >
> > ___
> > MacRuby-devel mailing list
> > [email protected]
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
> >
> > ___
> > MacRuby-devel mailing list
> > [email protected]
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Slideshow on OS X

2011-11-25 Thread Rúben Fonseca
On Thu, Nov 24, 2011 at 11:11 PM, Vincent Isambart
 wrote:
> Have a look at simple-slides.rb and slides.rb

Very helpful thank you!

Ruben

-- 
Will work for bandwidth
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Macruby dispatch problem

2011-11-25 Thread François Boone
Hi,

Once again, I don't if it's the appropriate forum to post this question. 

I have a problem with the dispatch gem on my mac.

1) Problem:
$ macirb
irb(main):001:0> require 'dispatch'
LoadError: no such file to load -- dispatch

2) My configuration:
--> MacBook Pro, 2.5 GHz Intel Core 2 Duo (yes, an old one. Since Christmas is 
close and you would like to give me a gift  :) )
--> Snow Leopard 10.6.8
64 bits on ( In system information: Noyau et extensions 64 bits :   
Oui)
--> $ macruby -v
MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64]
--> $ macgem query --local
*** LOCAL GEMS ***
dispatch (0.0.1)
mspec (1.5.17)

Thanks a lot for reply
François

PS:
Is there a forum for beginner questions like mine, because I do not want to 
bother you with these basic questions
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Macruby dispatch problem

2011-11-25 Thread Steve Clarke
I think you just need 

require 'rubygems'

before you require 'dispatch'

Steve

On 25 Nov 2011, at 17:59, François Boone wrote:

> Hi,
> 
> Once again, I don't if it's the appropriate forum to post this question. 
> 
> I have a problem with the dispatch gem on my mac.
> 
> 1) Problem:
> $ macirb
> irb(main):001:0> require 'dispatch'
> LoadError: no such file to load -- dispatch
>   
> 2) My configuration:
> --> MacBook Pro, 2.5 GHz Intel Core 2 Duo (yes, an old one. Since Christmas 
> is close and you would like to give me a gift  :) )
> --> Snow Leopard 10.6.8
>   64 bits on ( In system information: Noyau et extensions 64 bits :   
> Oui)
> --> $ macruby -v
>   MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64]
> --> $ macgem query --local
>   *** LOCAL GEMS ***
>   dispatch (0.0.1)
>   mspec (1.5.17)
> 
> Thanks a lot for reply
> François
> 
> PS:
> Is there a forum for beginner questions like mine, because I do not want to 
> bother you with these basic questions
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Macruby dispatch problem

2011-11-25 Thread François Boone
Oups ...
You have the point.
I am very sorry
François

Le 2011-11-25 à 13:13, Steve Clarke a écrit :

> I think you just need 
> 
> require 'rubygems'
> 
> before you require 'dispatch'
> 
> Steve
> 
> On 25 Nov 2011, at 17:59, François Boone wrote:
> 
>> Hi,
>> 
>> Once again, I don't if it's the appropriate forum to post this question. 
>> 
>> I have a problem with the dispatch gem on my mac.
>> 
>> 1) Problem:
>> $ macirb
>> irb(main):001:0> require 'dispatch'
>> LoadError: no such file to load -- dispatch
>>  
>> 2) My configuration:
>> --> MacBook Pro, 2.5 GHz Intel Core 2 Duo (yes, an old one. Since Christmas 
>> is close and you would like to give me a gift  :) )
>> --> Snow Leopard 10.6.8
>>  64 bits on ( In system information: Noyau et extensions 64 bits :   
>> Oui)
>> --> $ macruby -v
>>  MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64]
>> --> $ macgem query --local
>>  *** LOCAL GEMS ***
>>  dispatch (0.0.1)
>>  mspec (1.5.17)
>> 
>> Thanks a lot for reply
>> François
>> 
>> PS:
>> Is there a forum for beginner questions like mine, because I do not want to 
>> bother you with these basic questions
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Macruby dispatch problem

2011-11-25 Thread Matt Aimonetti
>
> Once again, I don't if it's the appropriate forum to post this question.


In the doubt... post.

This is the main place to discuss MacRuby related things, so feel free to
post, worst case scenario, someone will (hopefully) nicely let you know if
you are posting in the wrong forum.

- Matt

2011/11/25 François Boone 

> Oups ...
> You have the point.
> I am very sorry
> François
>
> Le 2011-11-25 à 13:13, Steve Clarke a écrit :
>
> > I think you just need
> >
> > require 'rubygems'
> >
> > before you require 'dispatch'
> >
> > Steve
> >
> > On 25 Nov 2011, at 17:59, François Boone wrote:
> >
> >> Hi,
> >>
> >> Once again, I don't if it's the appropriate forum to post this question.
> >>
> >> I have a problem with the dispatch gem on my mac.
> >>
> >> 1) Problem:
> >> $ macirb
> >> irb(main):001:0> require 'dispatch'
> >> LoadError: no such file to load -- dispatch
> >>
> >> 2) My configuration:
> >> --> MacBook Pro, 2.5 GHz Intel Core 2 Duo (yes, an old one. Since
> Christmas is close and you would like to give me a gift  :) )
> >> --> Snow Leopard 10.6.8
> >>  64 bits on ( In system information: Noyau et extensions 64 bits :
>   Oui)
> >> --> $ macruby -v
> >>  MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64]
> >> --> $ macgem query --local
> >>  *** LOCAL GEMS ***
> >>  dispatch (0.0.1)
> >>  mspec (1.5.17)
> >>
> >> Thanks a lot for reply
> >> François
> >>
> >> PS:
> >> Is there a forum for beginner questions like mine, because I do not
> want to bother you with these basic questions
> >> ___
> >> MacRuby-devel mailing list
> >> [email protected]
> >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
> > ___
> > MacRuby-devel mailing list
> > [email protected]
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] MacRuby promise delivered

2011-11-25 Thread Michael Johnston
Thanks Andy, I'll have a look

Sent from my iPhone

On 2011-11-25, at 5:35, Andy Park  wrote:

> I've been hacking on a fork of Interactive-MacRuby since a month or so ago, 
> and as I now think I won't be able to find the time to distill my experience 
> to a more presentable form any time soon, I'll just share my not-so-tidy work 
> in progress and my current repl-based workflow in case others may find it 
> useful and/or could take it further.
> 
> https://github.com/sohocoke/interactive-macruby/tree/temp-hack is the fork to 
> which I added a few things:
> - show (mac)ruby ivars inline when inspecting objects
> - load_rc - loads my .irbrc and .macirbrc files
> - load_repl - scans the app bundle for and load files with an .rb-repl 
> extension
> - load_src - relies on a (debug-only) global variable defined in the 
> project's .rb-repl file, to reload the source of a class from the project's 
> source (not bundle)
> 
> This gives me the ability to open a console window when I need to investigate 
> my app at runtime, and to quickly load some infra to carry for investigation 
> / fixing.
> 
> Then in my *rc files, I have, among other things, the following definitions:
> - https://gist.github.com/1320400 - some routines that allow me to obtain 
> quickly references to objects by their id or class
> - https://gist.github.com/1393479 - some methods that can wrap existing 
> methods for logging or additional investigative behaviour
> 
> I typically use these to find objects to which I add traces, add or replace 
> behaviour, then when I think I got it right I edit the source in the XCode 
> project and load the changed source. 
> 
> Obviously there are times when the changes need to be around events of the 
> object that I cannot cleanly retrigger from a REPL, such as when nib wiring 
> or awakeFromNib must be changed, so I still find myself restarting the debug 
> session every now and then. But for small tweaks these facilities allow me to 
> make changes and apply them in a relatively short cycle.
> 
> I also yearned for improved / prettier handling of the code I typed into the 
> console as I was using Interactive-MacRuby, but now I'm mostly satisfied with 
> one-line statements in the console, and reloading source after modifications 
> if it spans a few lines.
> 
> Hope this is of interest to some. Thanks Eloy and others.
> 
> 
> On 25 Nov 2011, at 01:28, Michael Johnston wrote:
> 
>> Thanks Eloy. I was playing with Interactive-MacRuby a bit last night.
>> 
>> I think the first step to using it would be to make a target to compile as a 
>> framework and make it cocoa pod-able. Then wiring up so can launch in app 
>> terminals with the app delegate or a particular window controller as top 
>> level object.
>> 
>> I was trying to figure out how to make it indent code as it is typed which 
>> irb does. Any thoughts on that?
>> 
>> Cheerio,
>> 
>> Michael Johnston
>> [email protected]
>> 
>> 
>> 
>> 
>> On 2011-11-24, at 2:13 PM, Eloy Duran wrote:
>> 
>>> Here’s a GUI approach to using macirb: 
>>> https://github.com/alloy/Interactive-MacRuby
>>> 
>>> I didn’t have time to finish it yet, but it might still be useful.
>>> 
>>> On 24 nov. 2011, at 02:52, Michael Johnston wrote:
>>> 
 I added basic fsevents reloading in my fork 
 (https://github.com/lastobelus/MacRubyReload)
 
 Should change to check an environment var first for list of directories to 
 watch, and otherwise use project root. For now I just grabbed the dir of 
 the rb_main.loc.txt entry.
 
 I'm curious to experiment with automating the dynamic reloading of nib 
 files. Anyone have any tips for that? The problem is that there are many 
 patterns for using nibs, so it will be difficult to fully automate. But 
 perhaps we can at least make it easy for common cases.
 
 Another next step would be to attach a panel to any window with a running 
 macirb in it whose top-level context is the window controller for that 
 window. That might be actually fairly easy to do.
 
 
 Cheerio,
 
 Michael Johnston
 [email protected]
 
 
 
 
 On 2011-11-15, at 10:01 AM, Jean-Denis MUYS wrote:
 
> Following up on my Friday suggestion, I am happy to announce that I 
> implemented a first version a Xcode MacRuby projects that dynamically 
> reloads Ruby source code into a running application, allowing for a very 
> dynamic incremental programming style.
> 
> go to https://github.com/jdmuys/MacRubyReload to download the project. 
> The ReadMe.markDown text file gives full instructions.
> 
> Hopefully MacRuby Xcode templates can evolve to automatically provide a 
> similar facility.
> 
> This is all very simple and very primitive. There is a lot of room for 
> improvement. I also apologize for my Ruby style: I probably haven't 
> written more than 100 or so lines of Ruby code overall yet.
> 
> I hope

[MacRuby-devel] ApplicationSupport framework

2011-11-25 Thread Kevin Colyar
All,

I'm unable to access any ApplicationSupport framework constants or methods
( AXAPIEnabled(), AXUIElementCreateApplication(), etc) in my MacRuby 0.10
application.  However, the other developer on the project is able to,
apparently since he is running OSX 10.7.

Anyone know if there is some kind of bridge support difference on 10.7?

Thanks,
Kevin

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] ApplicationSupport framework

2011-11-25 Thread Matt Aimonetti
If you are not on Lion (OS X 10.7x), you need to install BridgeSupport
preview 3:  http://www.macruby.org/files/BridgeSupport%20Preview%203.zip
Let us know if that helped,

- Matt

On Fri, Nov 25, 2011 at 6:54 PM, Kevin Colyar  wrote:

> All,
>
> I'm unable to access any ApplicationSupport framework constants or methods
> ( AXAPIEnabled(), AXUIElementCreateApplication(), etc) in my MacRuby 0.10
> application.  However, the other developer on the project is able to,
> apparently since he is running OSX 10.7.
>
> Anyone know if there is some kind of bridge support difference on 10.7?
>
> Thanks,
> Kevin
>
> --
> Kevin Colyar
> http://kevin.colyar.net
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] ApplicationSupport framework

2011-11-25 Thread Kevin Colyar
Yes!  That did it.

So, does this mean folks who trying to use the App will need to be on Lion
or have Bridge Support Preview 3 installed for it to work, or does does
this just affect the build process?

Thanks,
Kevin

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel