Today's Menu  Portugal
journal and plan nutrition
Y3WebView.h
Go to the documentation of this file.
1 //
2 // Y3WebView.h
3 // TodaysMenu
4 //
5 // Created by Don Zeek on 5/17/18.
6 // Copyright © 2018 net.dzeek.y2015.ios.portfolio. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import <WebKit/WebKit.h>
11 #import "Y3WebViewDelegate.h"
12 #import "U4WebControlsView.h"
18 @interface Y3WebViewResponder : WKWebView
19 
20 - (instancetype)initWithFrame:(CGRect)frame
21  configuration:(WKWebViewConfiguration *)configuration
22  andControllerDelegate:(id<Y3WebViewDelegate>)delegate;
23 
24 - (void)copy:(id)sender;
25 
26 @end
27 
32 @interface Y3WebView : UIView <WKNavigationDelegate, WKUIDelegate, U4WebControlsDelegate>
33 
34 @property (strong, nonatomic) Y3WebViewResponder *webView;
35 @property (strong, nonatomic) U4WebControlsView *webControls;
36 
37 typedef enum {
43 
44 - (instancetype) initWithFrame:(CGRect)frame andDelegate:(id<Y3WebViewDelegate>)delegate;
45 - (void) becomeResponder: (BOOL)flag;
46 - (void) stirJavascript;
47 - (void) scanPageForTitle;
48 - (void) scanPageForIngredients;
49 - (void) scanPageForInstruction;
50 
51 - (void) updateWebControls;
52 
53 @end
void updateWebControls()
Definition: Y3WebView.m:292
void scanPageForTitle()
Definition: Y3WebView.m:368
void scanPageForInstruction()
Definition: Y3WebView.m:378
U4WebControlsView * webControls
Definition: Y3WebView.h:35
MenuItemSegment
Definition: Y3WebView.h:37
void scanPageForIngredients()
Definition: Y3WebView.m:373
void stirJavascript()
Definition: Y3WebView.m:351
Y3WebViewResponder * webView
Definition: Y3WebView.h:34