@protocol I <NSObject>
-(void) f;
-(void) g;
@end
@interface C : NSObject <I>
{
id<I> i;
}
-(void) toA;
-(void) toB;
@end
I am using this code, Here I am using a protocol I, I want to know what is the meaning of ( id< I > i ) and working of this.