title: Usage of type-level method in swift
body: <p>I just know for type-level method, in class we should use <em>class</em> and in struct or enum should use <em>static</em>. But... let's see my example(My Xcode version is 6.3 beta 5),</p>
  
  <pre><code>class manager:NSObject{
     var type:NSDictionary?
     var array = NSMutableArray()
  
     class func start(types:NSDictionary){
         if array.count == 0 {...}
         self.type = types
     }
  }
  </code></pre>
  
  <p>I will get errors in the type-level method <strong>start</strong>:</p>
  
  <pre><code>'start.Type' does not have a member named 'array'
  </code></pre>
  
  <p>and</p>
  
  <pre><code>'start.Type' does not have a member named 'type'
  </code></pre>
  
  <p>So, what's the correct usage? Thanks very much!</p>