title: Error: Can't assign Value of type '[SomeObject]' to type '[NSMutableArray]'
body: <p>I have been trying to assign an Swift type of array to Objective-C type of array because i'm trying to use both Objective-C and Swift Class in my project.
  In my swift class, I have declared an array <code>var musicEntities = [MusicEntity]()</code>
  . When i try to assign to implement the following code:</p>
  
  <pre><code>let musicVC: MusicViewController = MusicViewController.sharedInstance()
  musicVC.musicEntities = musicEntities // line2 
  </code></pre>
  
  <p>In Line 2 i get the following error:</p>
  
  <pre><code>Can't assign Value of type '[SomeObject]' to type '[NSMutableArray]'
  </code></pre>
  
  <p>I know casting can help me to solve the problem.I have tried to find out specific answer in Stack Overflow but i didn't get any specific answer which might solve my problem. I tried many ways to cast it to NSMutableCompatible but i get different kind of error when i try to cast.</p>
  
  <p>How can i cast that [MusicEntity] array to NSMutableArray? I need specific answer regarding my problem.</p>
  
  <p>Looking forward for the answer.Thanks.</p>