Porting from 1.0.3 to 1.0.4
Prev | Swarm Changes and Compatibility | Next

## Porting from 1.0.3 to 1.0.4

- doTkEvents has been moved from ControlPanel to ActionCache. Be sure to direct all doTkEvent messages to the Swarm's instance of ActionCache and not the ControlPanel (a warning message will be generated otherwise).

- The swarmobject library has been renamed to objectbase. Although the build procedure creates a link to maintain compatibility, applications should include objectbase.h instead of swarmobject.h.

- Avoid calling globalTkInterp in all future applications, it will not be supported from version 1.1 onwards.

- If there exists a LIBRARY.h file, e.g. simtools.h, that file is the advertised interface to LIBRARY, and it will defined in terms of protocols. Whenever possible, define variables in terms of the protocol they respond to:

       id ProbeMap probeMap;

  rather than using a static type:

      ProbeMap *probeMap;

  (One advantage of this is that fewer imports will be needed in your application.)

Prev | Up | Next
Porting from 1.0.4 to 1.0.5 | Home | Porting from 1.0.2 to 1.0.3