Skip to content

Warning: "Protocol hasn't been found" on a delegate class that does not rely on BloodMagic #25

@stanislaw

Description

@stanislaw

Hello,

Currently I am having

2015-10-12 14:00:45.979 Prototype[17600:31945410] BloodMagic: Protocol MaintenanceViewControllerDelegate hasn't been found. Please check if you include the header with that protocol description in your .m file
#import <BloodMagic/Injectable.h>

@class MaintenanceViewController;

@protocol AnalyticsProtocol;

@protocol MaintenanceViewControllerDelegate <NSObject>
- (void)maintenanceViewControllerRetryButtonWasCalled;
@end

@interface MaintenanceViewController : UIViewController
    <BMInjectable>

@property (nonatomic, strong) id<AnalyticsProtocol> analytics;
@property (weak, nonatomic) id <MaintenanceViewControllerDelegate> delegate;

@end

@analytics is injected by BM and delegate is just a regular property, however I get warning on that delegate property.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions