NJKWebViewProgress icon indicating copy to clipboard operation
NJKWebViewProgress copied to clipboard

Add <UIKit/UIKit.h> to NJKWebViewProgress.h

Open jsm174 opened this issue 10 years ago • 1 comments

Hello.

If you make a brand new project in Xcode, and add NJKWebViewProgress.h, it will fail to compile with:

/MyApp/SDKs/NJKWebViewProgress/NJKWebViewProgress.h:23:42: Cannot find protocol declaration for 'UIWebViewDelegate'

My guess is XCode now longer includes precompiled headers in new projects.

If you add <UIKit/UIKit.h> to NJKWebViewProgress.h, it compiles fine.

//
//  NJKWebViewProgress.h
//
//  Created by Satoshi Aasano on 4/20/13.
//  Copyright (c) 2013 Satoshi Asano. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

Thanks, -- Jason

jsm174 avatar Aug 11 '15 18:08 jsm174

This is done.

tomasdev avatar Oct 22 '15 20:10 tomasdev