Preheat your oven to 350°F (175°C).
In a bowl, whisk together flour, baking soda, baking powder, cinnamon, and salt.
In another bowl, cream the butter and sugar until light and fluffy.
Add the eggs one at a time, mixing well after each addition.
Stir in the vanilla extract.
Gradually add the dry ingredients to the wet mixture, mixing just until combined.
Fold in the diced apples gently.
Pour the batter into a greased loaf pan.
Bake for 60 minutes, or until a toothpick comes out clean.
Let it cool in the pan for 10 minutes before transferring to a wire rack.