Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add the SVWebViewPresenter protocol.
  • Loading branch information
adonoho committed Jul 1, 2014
commit e9284c4eb80770d6ad39d7be95ffedabe64ba606
6 changes: 4 additions & 2 deletions SVWebViewController/SVWebViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
// https://github.com/samvermette/SVWebViewController

@protocol SVWebViewControllerDelegate;
@protocol SVWebViewPresenter <UIWebViewDelegate, SVWebViewControllerDelegate>
@end

@interface SVWebViewController : UIViewController

@property (nonatomic, strong) UIWebView *webView;
@property (weak, nonatomic) id<UIWebViewDelegate, SVWebViewControllerDelegate> delegate;
@property (nonatomic) UIWebView *webView;
@property (weak, nonatomic) id<SVWebViewPresenter> delegate;

- (id)initWithAddress:(NSString*)urlString;
- (id)initWithURL:(NSURL*)URL;
Expand Down