1. Ali Rantakari
  2. Faux Pas
  3. Issues
Issue #52 closed

ReservedPrefix warning triggered by forward-declared protocol

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