Actually I wouldnt hike up table mountain. Rather do the cable car, and if you want a similar walk, you can't beat the hike up Lion's head! Spectacular views and the path circles around the head so you see all different sides of the city
Do NOT do the Lions Head hike without a reliable guide. There are very serious safety concerns here, it is probably the area on the mountain with the most attacks on tourists. But it is vey scenic and not too difficult (some chains which you can bypass).
The hike up Table Mountain via Platteklip Gorge is strenuous. It is however done by so many people that it is not as unsafe as many other options.