Preheat the oven to 375 degrees.
For the crust, place the butter, granulated sugar, brown sugar, and vanilla in the bowl of an electric mixer fitted with the paddle attachment and beat on medium speed for 2 minutes, until light and creamy. Sift the flour and salt together and, with the mixer on low, slowly add to the butter-sugar mixture, beating until combined. Scatter two-thirds of the dough in clumps in a 9 × 13-inch baking pan and press it lightly with floured hands on the bottom and ½ inch up the sides. Refrigerate for 20 minutes. Bake for 18 to 20 minutes, until the crust is golden brown, and set aside to cool.
Meanwhile, put the mixing bowl with the remaining dough back on the mixer, add the walnuts and cinnamon, and mix on low speed to combine. Set aside.
Reduce the oven to 350 degrees.
For the filling, combine the Granny Smith and Golden Delicious apples and lemon juice in a very large bowl. Add the granulated sugar, cinnamon, and nutmeg and mix well. Melt the butter in a large (10-inch-diameter) pot, add the apples, and simmer over medium to medium-low heat, stirring often, for 12 to 15 minutes, until the apples are tender and the liquid has mostly evaporated. Spread the apples evenly over the crust, leaving a ½-inch border.
Pinch medium pieces of the remaining dough with your fingers and drop them evenly on top of the apples (they will not be covered). Bake for 25 to 30 minutes, until the topping is browned. Cool completely and cut into bars.
Copyright 2016, Cooking for Jeffrey, Clarkson Potter/Publishers, All Rights Reserved