In another bowl, cream the butter and sugar with an electric mixer. Add the egg yolks and beat until smooth. On low speed, gradually add the flour and beat until just incorporated. With a spatula, gently fold in half the egg whites. Fold in the remaining egg whites, vanilla, and apricots. Spoon the batter evenly in the prepared pan.