22 lines
615 B
Objective-C
22 lines
615 B
Objective-C
//
|
|
// NJKWebViewProgressView.h
|
|
// iOS 7 Style WebView Progress Bar
|
|
//
|
|
// Created by Satoshi Aasano on 11/16/13.
|
|
// Copyright (c) 2013 Satoshi Asano. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface NJKWebViewProgressView : UIView
|
|
@property (nonatomic) float progress;
|
|
|
|
@property (nonatomic) UIView *progressBarView;
|
|
@property (nonatomic) NSTimeInterval barAnimationDuration; // default 0.1
|
|
@property (nonatomic) NSTimeInterval fadeAnimationDuration; // default 0.27
|
|
@property (nonatomic) NSTimeInterval fadeOutDelay; // default 0.1
|
|
|
|
- (void)setProgress:(float)progress animated:(BOOL)animated;
|
|
|
|
@end
|