title: Cocoa: Dictionary with enum keys?
body: <p>I need to create a dictionary/hashmap where the </p>
  
  <ul>
  <li>Keys are enums</li>
  <li>Values are some subclass of <code>NSObject</code></li>
  </ul>
  
  <p><code>NSDictionary</code> won't work here (enums don't conform to <code>NSCopying</code>). </p>
  
  <p>I could perhaps use a <code>CFDictionaryRef</code> here, but I'd like to know if is there any other way to achieve this.</p>