I need to define a protocol inside my class, one of the method need the type of this class as parameter, how do I use self type here?

code:

```
//  myClass.h

@protocol delegate
- (void)method:(myClass *)myClass;
@end

@interface myClass : UIView

// some properties and methods

@end

```

It gives the error that "Expected a type" which indicates that myClass is not recognized as a type.