next up previous
Next: Opening and closing files Up: RECView.m Program Listing Previous: Declarations

Initialization and termination

/* ---------------  A P P   I N I T I A L I Z A T I O N   ---------------- */

- appWillInit:sender {printf("appWillInit = REC-F\n"); return self;}

- appDidInit:sender {

  printf("appDidInit = REC-F for Flexagons\n");

  [browser getTitleFromPreviousColumn: YES];
  [browser setDoubleAction: @selector(copyAndRunREC:)];
  [browser setPath: "/demonstrations"];

  [self loadExternal: self];

  return self;

- appWillTerminate:sender {printf("goodbye\n"); return self;}