title: cannot find protocol declaration for NSObject
body: <p>I was creating an <code>NSObject</code> class for doing web service. But while creating the protocol ,an error comes displaying"cannot find protocol declaration for <code>NSObject</code>" .In Xcode 4 I never came across such problems.Now I am using Xcode 6. Pls help me. Code is as below.</p>
  
  <pre><code>@protocol web &lt;NSObject&gt;
  -(void)(NSArray *)urlArray;    
  @end
  
  #import &lt;Foundation/Foundation.h&gt;
  @interface Webclass : NSObject    
  @end
  </code></pre>