title: Swift: error: use of instance member on type
body: <p>I'm trying to build a swift script but I got stuck with this error:</p>
  
  <pre><code>./1.swift:10:11: error: use of instance member 'thisIsmyFunction' on type 'myScript'; did you mean to use a value of type 'myScript' instead?
   myScript.thisIsmyFunction()
   ~~~~~~~~ ^
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>#!/usr/bin/swift
  import Foundation
  class myScript {
      func thisIsmyFunction() {
          print("Do something in there!")
      }
  }
  myScript.thisIsmyFunction()
  </code></pre>
  
  <p>What I'm trying to do is access to the function and execute the print.</p>
  
  <p>Any of you knows what I'm doing wrong?</p>
  
  <p>I'll really appreciate your help.</p>