2011: A bittersweet year for Apple