Beat together the butter or margarine and sugar until light and fluffy
Add the eggs and continue to beat for a further minute (don't worry if the mixture separates, it will come back together)
Add the flour, almonds, baking powder, ground flax seeds, xanthan gum, milk, vanilla extract and finely grated cheese and beat together for a further minute.
Chop half of the peeled apples into small chunks and add them to the batter.
Carefully stir, then pour into a greased round 21cm tin
Slice the remaining peeled apples and arrange in a concentric pattern on the top.
Finally sprinkle with 2tbsp sugar mixed with 1tsp cinnamon
Place in a pre-heated oven at 200 degrees (180 degree, fan) for 40 - 45 minutes until a tooth pick comes out clean.