Preheat oven to 350 degrees.
Coat a loaf pan with cooking spray. Set aside.
Combine butter and sugar.
In a large bowl, mix until smooth, ideally with a handheld or stand mixer.
Add eggs, milk, vanilla and grated apple.
Stir until blended.
Mix in flour, baking powder, baking soda, salt and pecans or walnuts.
Stir until well incorporated.
Pour batter and spread evenly into loaf pan.
Bake for 60 minutes or until a toothpick inserted in the center comes out clean.
Leave in the pan for 10 minutes before placing it on a wire rack to finish cooling. Slice, serve and enjoy every bite!