1. Soak raisins in warm water for 15 minutes.
  2. Warm oil in pan and toss pine nuts or almonds in it until golden.
  3. Mix in tomatoes, season with salt, simmer for 10 minutes.
  4. Add drained raisins, sugar and vinegar and cook gently for 2 minutes. Taste and adjust balance of sweet, sour and salt.
  5. Cook and drain pasta, mix with sauce.
  6. Blend in apple just before serving cold, but not chilled.