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

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

Open
jsm174 opened this issue Aug 11, 2015 · 1 comment
Open

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

jsm174 opened this issue Aug 11, 2015 · 1 comment

Comments

@jsm174
Copy link

jsm174 commented Aug 11, 2015

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

@tomasdev
Copy link

This is done.

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

2 participants