Andre Iguodala, a four-time NBA champion with the Golden State Warriors, has announced his retirement nearly two decades after entering the league.