2015-12-11 iOS Generic 12345678910111213141516171819//C++ @protocol Barking <NSObject>- (void)bark;@end//template@interface Animal<AnyObject, AnyObject2>:NSObject@end@class Dog;//instance@interface Dog : Animal<Dog *, NSString *> <Barking>//protocol@end Newer Tools Older Interview