I am trying to create a header file as such:
#import <UIKit/UIKit.h>
typedef void (^RevealBlock)();
@interface BFTasksViewController : UITableViewController <UITableViewDataSource, UITableViewDelegate> {
@private
RevealBlock _revealBlock;
}
- (id)initWithTitle:(NSString *)title withRevealBlock:(RevealBlock)revealBlock;
@end
But I get this warning:
Overriding typedef 'RevealBlock' is a C11 function
Is this something bothering you? I look at the GHSidebarNav project , which seems to use it just fine.
source
share