Thinly slice the tomatoes; peel, core and chop the apples. Put all the ingredients into a preserving pan, mix well and leave for 1–2 days until it becomes a syrupy mass. Put over a low heat until the sugar is dissolved, then boil rapidly until setting point is reached. Pour into hot sterilized jars and cover tightly. Keep for a few weeks before eating.