Apple always seems one step ahead even when it comes from behind.