Precooking at least half of the apples before adding them into the filling ensures a balanced flavor and reduces the chances of the pie being soggy.