I suggest using apple varieties such as Fuji, Honeycrisp, Jonagold, Braeburn, or Granny Smith that retain their shape even after the intense pressure of cooking. However, it's best to avoid using red delicious, as they don't hold up well when cooked.