Cash or Card

Travelling to Joburg from Australia this week. Is cash still king over in South Africa or is it all pay by card nowadays?If cash, how much should one carry (safely) when purchasing food and drinks whilst visiting sites for the day? Just trying to figure out how much should one withdraw for the day.