swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using selectors


From: Marcus G. Daniels
Subject: Re: using selectors
Date: 17 Jul 1998 08:37:39 -0700

>>>>> "JM" == James Marshall <address@hidden> writes:

JM> [alleleGraph createSequence: "Total population" withFeedFrom:
JM> [epdSwarm getWorld] andSelector: M(getWorldPopulation)];

The signature of a method with an argument would look like this:

   getWorldPopulationFor:

to get that selector these are equivalent:

   M(getWorldPopulationFor:)
   @selector(getWorldPopulationFor:)

Unfortunately, as it is now, the message probe (i.e. ActiveGraph) that ends
up getting used is created internally in EZGraph, and not accessible for
frobbing the arguments.

JM> now I need to know how to pass a parameter along with the message
JM> (an integer in my case). 

What is the purpose of the integer?

                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]