8.65. File tom/Selector

class tom.Selector

A Selector is an object wrapper for a selector.

inherits

State supers: State

methods


instance (id)
  with selector sel;

Return an instance of Selector wrapping the selector sel.

instance tom.Selector

variables

selector sel;

The selector which we wrap.

methods


id (self)
  init selector s;

Designated initializer.


int
  hash;

Return the identity of the selector.


boolean
  equal id other;

Return whether or not the selector wrapped by self is equal to other.


String
  name;

Return the name of the selector.


selector
  selector;

Return the selector we wrap.


void
  encodeUsingCoder Encoder coder;

Encode the receiving Selector object. This writes the name of the selector as the means of identifying the selector upon decoding. (The selector itself can't be written since encoding a selector actually encodes a Selector object.)


void
  initWithCoder Decoder coder;

Initialize the receiving Selector from the coder.