Hi, can u please help me how to return an instance of a function which is inherited through interface in Objective-C Language?
@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
Plssss help me out???????