title: Unrecognized selector sent to instance error?
body: <p>Consider this code:</p>
  
  <pre><code>SCNNode *someNode = [[SCNNode alloc] init];
  Piece *piece = (Piece *)someNode;
  [piece pick];
  </code></pre>
  
  <p>Where Piece is a sub-class of SCNNode and contains a method called pick. Xcode is returning this error:</p>
  
  <pre><code>[SCNNode pick]: unrecognized selector sent to instance
  </code></pre>
  
  <p>Can someone tell what is wrong with my code?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I tried this as well. Same problem.</p>
  
  <pre><code>- (id)initPieceWithNode:(SCNNode *)node {
  
      if (self = [super init]) {
           self = (Piece *)[node copy];
      }
  
  return self;
  }
  </code></pre>