title: Super.init isn't called on all paths before returning from initializer Error
body: <p>I am developing a SpriteKit game which uses a joystick. I have created a joystick SKNode Class.</p>
  
  <p>The code for the class:</p>
  
  <pre><code>import Foundation
  import SpriteKit
  
  class Joystick: SKNode {
      var joystickPad: SKShapeNode!
      var joystickStick: SKShapeNode!
  
      var colour: UIColor!
  
      init(colour: UIColor) {
          //constructor method
          self.colour = colour;
      }
  
      required init?(coder aDecoder: NSCoder) {
          fatalError("init(coder:) has not been implemented")
      }
  
      // lots of other code unrelated to the error
  }
  </code></pre>
  
  <p>I got the following error when I run my code:</p>
  
  <blockquote>
    <p>Super.init isn't called on all paths before returning from initializer</p>
  </blockquote>
  
  <p>Can anyone please explain the error and tell me any solutions, I don't get why I'm getting that error, as I thought my class was just a class not a superclass.</p>
  
  <p>Any Help would be much appreciated.</p>
  
  <p><strong>Additional Info:</strong></p>
  
  <p>I'm using:</p>
  
  <ul>
  <li>Swift 4</li>
  <li>Spritekit</li>
  <li>Xcode 9.2</li>
  <li>iPhone 6s Running the latest public release iOS</li>
  </ul>