Preheat oven to 350 degrees. Cream together sugar and butter. Add beaten egg and mix well.
Add diced apples, chopped nuts and vanilla. Sift together flour, baking soda, salt, cinnamon and nutmeg and stir into mixture.
Place batter into 8 inch square greased pan. Bake at 350 degrees for 35 to 40 minutes.