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/20111125-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/20111125-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 <mattaimone...@gmail.com> 
> 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 <francois.bo...@usherbrooke.ca>
> 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
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to