Is it safe to walk around?
Yes, like anywhere, provided you don't go wandering about dark streets at the dead of night.
There is crime in South Africa but you don't need to do more than take an usual sensible precautions.
Like anywhere else in the world, know that there are some areas of the major town where outsiders present a more vulnerable target.
Don't display valuable possessions carelessly in the public.