hi there i am from polokwane and south africa is pretty safe. As foreigner you just need to follow some guidelines.
Dont go to areas you are not familiar with.
Dont go anywhere without a guide or someone who knows the area.
Do research beforehand on the areas you want to visit and if you want to visit places like soweto then do it in the day time.
I offer photographic safaris and hunting safaris for oversees tourists so if you need any further info pop me an email and will try to help.
Carry a can of pepper spray/mace with you...dont wear chunky fancy jewellery, keep your rolex in the hotel safe and your cell phone on vibrate in your pocket. dont drive with the window down and DONT use public transport as its not exactly tourist friendly.
Good luck and have fun.