Is there a way to add new items to enum in Objective-C? <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/3124012/possible-to-add-another-item-to-an-existing-enum-type">Possible to add another item to an existing enum type?</a> </p> </blockquote> <p>Say I have a class <code>Car</code> with the following enum defined:</p> <pre><code>typedef enum { DrivingForward, DrivingBackward } DrivingState; </code></pre> <p>Then, let's say I have a subclass of <code>Car</code> called <code>Tesla</code> and it happens to drive sideways too. Is there a way for <code>Tesla</code> to add new items to that original enum so that the final enum becomes like the following?</p> <pre><code>typedef enum { DrivingForward, DrivingBackward, DrivingLeft, DrivingRight } DrivingState; </code></pre>