title: Objective-C protocol static method?
body: <p>I have a protocol in Objective-C, something like this:</p>
  
  <pre><code>@protocol Handler
  +(NSString*) getValue;
  @end
  </code></pre>
  
  <p>So now say I have an instance that inherits this protocol and I want to call this method:</p>
  
  <pre><code>[handlerInstance getValue];
  </code></pre>
  
  <p>This gives a warning because the <code>getValue</code> method is not an instance method. How can I properly call this method from my instance? (Without knowing the concrete class)? I'm guessing something like this, but I'm not exactly sure:</p>
  
  <pre><code>[[handlerInstance class] getValue];
  </code></pre>