Slice the apples into halves. Slice the halves lengthways into smaller pieces, roughly 1/4-inch width. Place the apple pieces and finely chopped onion into a saucepan with all the other ingredients. Heat the mixture until it is simmering quickly. Cook the mixture for 45 minutes, or until the chutney has thickened slightly and the fruit has become soft.
Spoon the mixture into sterilized jars and screw the lids onto the jars tightly. Allow to cool before storing in a cool, dark place.
Recipe courtesy of Nigella Lawson from Nigella's Christmas Kitchen, 2007