Porting from 1.3 or 1.3.1 to 1.4
Prev | Swarm Changes and Compatibility | Next

## Porting from 1.3 or 1.3.1 to 1.4

- The `Arguments` protocol has moved from the `objectbase` library to the `defobj` library. If you were subclassing from the `Arguments` class you will now need to subclass from `Arguments_c` and import the `defobj.h` header file.

- The `ListShuffler` class has been moved from `simtools` to `collections`. You must now import `collections.h`. Alternatively you can use the new `[beginPermuted: aZone]` index creation method on a collection from the `Collection` protocol in place of the `ListShuffler` protocol.

- The `-setLabels::` and `-setColors::` methods in the `Histogram` protocol now each must be given a new `count: (unsigned)labelCount` and `count: (unsigned)colorCount` argument, respectively. So, for example, the code formerly in `MarketObserverSwarm.m` in the market application was:

      [useHisto setLabels: pred];
      [useHisto setColors: predictorColors];

  is now changed to:

      [useHisto setLabels: pred count: numPredictorsToShow];
      [useHisto setColors: predictorColors count: numPredictorsToShow];

Prev | Up | Next
Porting from 1.4 or 1.4.1 to 2.0 | Home | Porting from 1.2 to 1.3