Re: [MacRuby-devel] handling void pointers in callbacks

2010-01-09 Thread Laurent Sansonetti
Hi Michael, I recommend not to use this argument in MacRuby at this point. it is safer to pass a value by assigning it as an instance variable of the observer/delegate/whatever receiver object instead, using #instance_variable_set. Laurent On Jan 9, 2010, at 12:01 AM, Michael Johnston wr

[MacRuby-devel] handling void pointers in callbacks

2010-01-09 Thread Michael Johnston
I'm working through the PragProg Core Data book, and have encountered an issue passing contextInfo to NSOpenPanel.beginSheetForDirectory This issue was discussed on the list previously by Dr. Nic: http://www.mail-archive.com/macruby-devel@lists.macosforge.org/msg00330.html The problem is that t