Swift Errors and their possible explanations

  • 'super.init' cannot be called outside of an initializer
    • Maybe you've forgotten to define init() in your superclass.
  • extra argument '[ARGUMENT_NAME]' in call
    • Usually it means some kind of type inference error in the method. Not specifically in the first argument (despite error points there), you should check all the types of all the arguments.

 

If you can add something to this list, feel free to mail errors and descriptions to me at alex@lonelybytes.com