title: How to call Type Methods within an instance method
body: <p>Apple has a nice <a href="https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Methods.html" rel="nofollow noreferrer">explanation of Type (Class) Methods</a>, however, their example looks like this:</p>
  
  <pre><code>class SomeClass {
      class func someTypeMethod() {
          // type method implementation goes here
      }
  }
  SomeClass.typeMethod()
  </code></pre>
  
  <p>I see this exact same example parroted everywhere. My problem is, I need to call my Type Method from within an instance of my class, and that doesn't seem to compute.</p>
  
  <p>I MUST be doing something wrong, but I noticed that Apple does not yet support Class Properties. I'm wondering if I'm wasting my time.</p>
  
  <p>I tried this in a playground:</p>
  
  <pre><code>class ClassA
  {
      class func staticMethod() -&gt; String { return "STATIC" }
  
      func dynamicMethod() -&gt; String { return "DYNAMIC" }
  
      func callBoth() -&gt; ( dynamicRet:String, staticRet:String )
      {
          var dynamicRet:String = self.dynamicMethod()
          var staticRet:String = ""
  
  //        staticRet = self.class.staticMethod() // Nope
  //        staticRet = class.staticMethod() // No way, Jose
  //        staticRet = ClassA.staticMethod(self) // Uh-uh
  //        staticRet = ClassA.staticMethod(ClassA()) // Nah
  //        staticRet = self.staticMethod() // You is lame
  //        staticRet = .staticMethod() // You're kidding, right?
  //        staticRet = this.staticMethod() // What, are you making this crap up?
  //        staticRet = staticMethod()  // FAIL
  
          return ( dynamicRet:dynamicRet, staticRet:staticRet )
      }
  }
  
  let instance:ClassA = ClassA()
  let test:( dynamicRet:String, staticRet:String ) = instance.callBoth()
  </code></pre>
  
  <p>Does anyone have a clue for me?</p>