Re: [MacRuby-devel] Speed

2011-12-21 Thread François Boone
Le 2011-12-21 à 15:17, Joshua Ballanco a écrit : > 2011/12/20 François Boone > Hi, > > I have written a function with 461 queries in a MySQL database. > With macirb, it takes more or less 1s for all queries. > I put my file in a Xcode project and when I click on a button, t

[MacRuby-devel] Speed

2011-12-20 Thread François Boone
Hi, I have written a function with 461 queries in a MySQL database. With macirb, it takes more or less 1s for all queries. I put my file in a Xcode project and when I click on a button, the action is to run this function. However, it takes more or less 1s for EACH query! I use normal schedule, n

Re: [MacRuby-devel] Source List: NSOutlineView in a NSScrollView

2011-12-15 Thread François Boone
rame.size.width = 20 >button.setFrame(frame) > > If make the badge too, it might easily using the > https://github.com/Perspx/PXSourceList :) > > Thanks, > > > 2011/12/13 François Boone : >> Hi, >> >> Thank-you very much Watson for your Sourc

Re: [MacRuby-devel] Source List: NSOutlineView in a NSScrollView

2011-12-12 Thread François Boone
nd end Le 2011-12-10 à 02:53, Watson a écrit : > Hi, > > If you want to display images in NSOutlineView, I think you would use > the NSOutlineView as View-Based. > You might use the outlineView:viewForTableColumn:item instead of > outlineView:objectValueForTableColumn:by

[MacRuby-devel] Source List: NSOutlineView in a NSScrollView

2011-12-08 Thread François Boone
Hi, With help of Matt and Watson, I have made a tree using Outline View object and it works fine. Now I would like to go one step further. I would like to use the Source List object available in Object Library. This Source List looks like Outline View with TableColumn Object. In this Table Ob

Re: [MacRuby-devel] ruby structure for NSOutlineView

2011-12-06 Thread François Boone
> my TV app: https://github.com/mattetti/LiveTV/ > > - Matt > > 2011/12/2 François Boone > Hi, > > Thank you very much for these links. > I tried them and they worked more or less … since I used Xcode 3 > But I decide to upgrade my computer and now I have Lion and

Re: [MacRuby-devel] ruby structure for NSOutlineView

2011-12-02 Thread François Boone
help you slightly. > - https://github.com/Watson1978/MacRuby-Samples/tree/master/SourceList > - https://github.com/Watson1978/MacRuby-Samples/tree/master/SourceList2 > - https://github.com/Watson1978/MacRuby-Samples/tree/master/SourceListBinding > > enjoy! :) > > 2011/11/27

[MacRuby-devel] ruby structure for NSOutlineView

2011-11-26 Thread François Boone
Hi, In the same way that this tutorial (http://developer.apple.com/library/mac/#featuredarticles/UsingMacRuby/_index.html), I try to implement a NSOutlineView controller in ruby to make a simple tree in the left part of a window. I read the documentation of NSOutlineView, tasks and I understand

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 wrot

[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

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

2011-11-25 Thread François Boone
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. > > - M

[MacRuby-devel] MacRuby: the definitive guide

2011-11-24 Thread 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