title: Syntax to return an instance in Objective-C
body: <p>can u please help me how to return an instance of a function which is inherited through interface in Objective-C Language?</p>
  
  <pre><code>@protocol prot1
  
  {
  
  public IDispManager getDispManager;
  
  }
  @end
  @interface A: NSObject (prot1)
  
  {
  
  }
  @end
  
  @implementation A
  
  {
     /**
       * Provides access to the disp manager.
       * @return Instance of the disp manager.
       */
     public IDispManager getDispManager;
  
     // how to return an instance of this method
  }
   @end
  </code></pre>
  
  <p>Plssss help me out???????</p>