> On Oct 28, 2017, at 2:05 AM, Stephane Ducasse <stepharo.s...@gmail.com> wrote: > > Hi andrew > > you should contact esteban because he is writing an objective-C bridge. > > Stef
Another one? I think we've written half a dozen now, no? There is some code in the VM libs that allows calling out. I worked on one with Avi for a bit about ten years ago. The callbacks/delegate bit was always problematic. It is one thing to call Objective C (really easy) but another thing to integrate with Cocoa and accept callbacks while keeping the VM live. I would really love one that let me write Cocoa from Pharo (especially iPhone apps). I do wonder if this new capability with Objective C blocks wouldn't maybe make things easier. http://www.friday.com/bbum/2011/03/17/ios-4-3-imp_implementationwithblock/