ReservedPrefix warning triggered by forward-declared protocol

Create issue
Issue #52 closed
Ben Asher created an issue

If you typically use @class and @protocol declarations in headers to forward-declare classes and protocols that will be imported later, the ReservedPrefix warning will trigger for forwarded declarations from Apple's frameworks. For example, the rule would be triggered by the following line in your own header file:

@protocol MKAnnotation;

Comments (5)

  1. Log in to comment