Set the oven at 175°C. Melt the butter/margarine and allow to cool.
Whisk the eggs and sugar until airy. Mix the flour, coconut and cooled butter/margarine, then mix into the egg mixture.
Peel, halve and decore the apples. Place the halved apples flat side down in a greased baking tin.
Pour the batter over the top and bake in the middle of the oven for approx. 25 minutes.
Serve warm with vanilla ice cream, vanilla sauce, lightly whipped cream or crème fraîche.