I want to make a generic class of custom view but when I make a delegate of the class, my generic class doesn\'t take it and generates a compilation error. Please check the