Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stanislaw opened this issue Oct 12, 2015 · 0 comments

Comments

@stanislaw
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant