Preheat the oven to 375º F (190º C) and grease the pie dish.
In a food processor, (if you don’t have a food processor you can use your hands.) pulse the flour, sugar and salt together.
Then add the cold butter cubes into the dry ingredients and continue to pulse (or grind the flour and butter into crumbles with your hands).
Slowly add the ice water, one tablespoon at a time just until the dough comes together in a ball. Do not overwork the dough.
Form the dough into a disc, wrap it in plastic wrap and let it rest in the fridge for 30 minutes to 2 hours. It is very important that the dough is cold.
In a saucepan add the white sugar, brown sugar, butter and lemon juice and cook on medium heat until caramelized.
Add the flour, cinnamon, and nutmeg into the mixture and stir. Lastly, add the apples and a little bit of water and cook until the apples start to soften. Set aside to cool down.
On a floured surface, roll the half dough out to the size of the pie pan, about 1/4-inch thick.
Gently lift the dough and transfer it to the pan. Press the sides and the bottom of the dough and trim the overhanging dough. Pierce the dough with a fork, cover with parchment paper and pour a cup of dry beans on top. bake for 10 minutes
Take the other half of the dough out of the fridge and roll out in a circle. Cut into 1/4-inch strips.Take the pie crust out of the oven and pour the cooled apple mixture into it and arrange the strips on top in a crisscross pattern.
In a small bowl, beat the egg yolk with a tablespoon of water. Brush the edges and the dough strips with the egg wash.
Bake for 30 minutes, or until the crust turns golden brown.