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>
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.Thanks, -- Jason