JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SettingsEditorPageViewController.h
Go to the documentation of this file.
1
15
16#import <UIKit/UIKit.h>
17
18#import "EditorIDManager.h"
19
20NS_ASSUME_NONNULL_BEGIN
21
25// clang-format off
26// One protocol per line: a continuation line that begins with ": Base <" is read by Doxygen as
27// undocumented ivars named after the trailing protocols.
28@interface SettingsEditorPageViewController : UIViewController <UIWebViewDelegate,
30// clang-format on
31
38- (nullable NSURLRequest *)createEditorPageURL;
39
44- (void)openStartPage;
45
51- (void)sessionCreate;
52
60- (instancetype)init;
61
72- (nullable NSURLRequest *)uiWebView:(nullable id)uiWebView
73 resource:(nullable id)resource
74 willSendRequest:(nullable NSMutableURLRequest *)request
75 redirectResponse:(nullable NSURLResponse *)redirectResponse
76 fromDataSource:(nullable id)dataSource;
77
89- (BOOL)webView:(UIWebView *)webView
90 shouldStartLoadWithRequest:(NSURLRequest *)request
91 navigationType:(UIWebViewNavigationType)navigationType;
92
99- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error;
100
106- (void)webViewDidStartLoad:(UIWebView *)webView;
107
113- (void)jubeatLabAccessProceed:(nullable id)access;
114
121- (void)jubeatLabAccessError:(nullable id)access;
122
130- (void)jubeatLabAccessFinished:(nullable id)access;
131
138- (void)successIDDownload:(nullable id)manager;
139
147- (void)errorIDDownload:(nullable id)manager msgStr:(nullable NSString *)msgStr;
148
156- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
157
163- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
164
170- (BOOL)shouldAutorotate;
171
177- (void)viewWillDisappear:(BOOL)animated;
178
184- (void)socialSend:(nullable NSString *)serviceType;
185
190- (void)sendTwitter;
191
196- (void)sendFaceBook;
197
198@end
199
200NS_ASSUME_NONNULL_END
201
202// code: language=Objective-C
203// kate: hl Objective-C;
204// vim: set ft=objc :
The editor identifier store, backed by the keychain.
A view controller presenting the jubeatLab editor page in a UIWebView.
Definition SettingsEditorPageViewController.h:29
void openStartPage()
Loads the stored next request into the web view.
Definition SettingsEditorPageViewController.m:58
instancetype init()
Initialises the controller: builds the web view and its editor-page request, then either opens a sess...
Definition SettingsEditorPageViewController.m:69
nullable NSURLRequest * createEditorPageURL()
Builds the request for the editor page: an NSURLRequest wrapping +[jubeatLabAccess getUserPageURL] .
Definition SettingsEditorPageViewController.m:53
BOOL shouldAutorotate()
Whether the controller supports autorotation; always YES.
Definition SettingsEditorPageViewController.m:266
void sendTwitter()
Shares to Twitter.
Definition SettingsEditorPageViewController.m:299
UIInterfaceOrientationMask supportedInterfaceOrientations()
The supported interface orientations: portrait and portrait-upside-down.
Definition SettingsEditorPageViewController.m:260
void sessionCreate()
Opens a jubeatLab session: builds a jubeatLabAccess session client bound to this controller and start...
Definition SettingsEditorPageViewController.m:63
void sendFaceBook()
Shares to Facebook.
Definition SettingsEditorPageViewController.m:304
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22