Andrew: Aha! I was wondering how to keep track of which touch is which, did not realize you could get the id of the object as an integer and use that as a key (I've programmed in scheme forever, but learning objective-c now). I was just passing the x and y of a single touch across, and ignoring multiple touches. Thanks! I would be curious to see the code. James: That sounds great. I am wondering what your strategy is for exposing an objective-c object to scheme like that, as so far I have only been able to send basic data types (int, double etc) between c and scheme. Something like keeping some reference to the c object and implementing the various methods in scheme? In particular, I would like to make a list of x,y pairs that get sent from the c event handler to the corresponding scheme function, is that possible? I imagine there could be some way to construct scheme lists from c, but not sure how that could be done at the moment. As I say, I am still learning the ropes around here. Thanks for the replies! - Ryan --- On Sun, 7/12/09, James Long <longster@gmail.com> wrote:
|