[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EZBin questions
From: |
Marcus G. Daniels |
Subject: |
Re: EZBin questions |
Date: |
06 Feb 1998 10:50:46 -0800 |
>>>>> "LH" == Lindsay Hood <address@hidden> writes:
LH> So it looks like we can pass varargs to the probedSelector, but
LH> how do we do that from the interface supplied for EZBin? -
LH> setProbedSelector only takes a method name, whereas I would really
LH> like to have something like
LH> setProbedSelector(calcDistanceX:x Y:y);
It isn't the interface to setProbedSelector, you could certainly set
what you want using:
setProbedSelector (@selector (calcDistanceX:Y:));
The only downside is that it wouldn't work. The problem is that we
don't have a lightweight way to construct arbitrary method calls from
the method metadata. I'm afraid your stuck putting X and Y instance
variables in your target class and computing the distance from those.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================
- EZBin questions, Lindsay Hood, 1998/02/06
- Re: EZBin questions,
Marcus G. Daniels <=