title: ‘AnyHashable’ is not convertible to ‘NSObject’
body: <p>I am converting mine Objective-C code to Swift.
  I am having my own DataStructure class called “DCclass" inherrited from  "NSObject"... 
  i have done all required things like: In Bridging-header imported the “DCclass.h" and etc things fine but while having its for in loop i am facing error something like its type conversion issue.
  Thanks In Advance.</p>
  
  <p>Current Objective-C code:</p>
  
  <pre><code>#import “DCclass.h”
  @interface LPFPickerCell ()
  @property (nonatomic) NSMutableArray *myMutableArray;
  @end
  
  @implementation LPFPickerCell
  - (void)setSelectedData:(NSString *) selectedString
  {    
      int i = 0;
      for (DCclass *dc in self.myMutableArray)    /// Swift is showing compile time error here
      {
          NSLog(@"DCclass.empName = %@",dc.empName);
      }
  }
  @end
  </code></pre>
  
  <p>Converted Swift Code:</p>
  
  <pre><code>class LPFPickerCell {
  
      var myMutableArray = [AnyHashable]()
  
      func setSelectedData(_ selectedString: String?) {
          let i: Int = 0
          for dc: DCclass in myMutableArray {    ///‘AnyHashable’ is not convertible to ‘DCclass’
          print("DCclass.empName = \(dc.empName)")
          }
      }
  }
  </code></pre>