Apple defied a PC market in crisis.