South African President Cyril Ramaphosa on Friday alleged that deadly violence and looting that have shaken the country over the past week were planned, as he arrived in the epicentre of the unrest.