title: PFSubclassing with array pointer and swift 1.2 - fatal error: NSArray element failed to match the Swift Array Element type
body: <p>With swift 1.2, I can no longer retrieve an array of poiter with parse subclass and downcasting it with another parse subclass.</p>
  
  <p>I always found the error:</p>
  
  <pre><code>fatal error: NSArray element failed to match the Swift Array Element type
  </code></pre>
  
  <p>Do you have an idea or it may come?</p>
  
  <p>The code:</p>
  
  <pre><code>import Foundation
  
  class ShotModel : PFObject, PFSubclassing {
  
      /**
      * MARK: Properties
      */
      @NSManaged var name: String
  
      @NSManaged var pics: [PicModel]
  
  
      override class func initialize() {
          var onceToken : dispatch_once_t = 0;
          dispatch_once(&amp;onceToken) {
              self.registerSubclass()
          }
      }
  
      class func parseClassName() -&gt; String! {
          return "Shot"
      }
  
  }
  
  import Foundation
  
  class PicModel : PFObject, PFSubclassing {
  
      /**
      * MARK: Properties
      */
      @NSManaged var name: String
  
  
      override class func initialize() {
          var onceToken : dispatch_once_t = 0;
          dispatch_once(&amp;onceToken) {
              self.registerSubclass()
          }
      }
  
      class func parseClassName() -&gt; String! {
          return "Pic"
      }
  
  }
  
  // this cause error
  
  var shot: ShotModel = // a shot model get with fetchInBackgroundWithBlock
  
  shot.pics // fatal error: NSArray element failed to match the Swift Array Element type
  </code></pre>
  
  <p>Thanks for your time</p>