JubeatPlus 3.9.11
Loading...
Searching...
No Matches
TermsNavController.h
Go to the documentation of this file.
1
13
14#import <UIKit/UIKit.h>
15
16// The close delegate is the same untyped (@) slot sending the same selector as
17// SettingsNavController, so the shared SettingsNavControllerDelegate protocol is reused.
19
21
22NS_ASSUME_NONNULL_BEGIN
23
27@interface TermsNavController : UINavigationController
28
32@property(strong, nonatomic, nullable) TermsViewController *termsViewCtrl;
33
37@property(weak, nonatomic, nullable) id<SettingsNavControllerDelegate> settingsDelegate;
38
44- (instancetype)init;
45
50- (void)loadView;
51
57- (void)pushClose:(nullable id)sender;
58
63- (void)settingClose;
64
65@end
66
67NS_ASSUME_NONNULL_END
68
69// code: language=Objective-C
70// kate: hl Objective-C;
71// vim: set ft=objc :
The navigation wrapper around the in-app settings screen, with a close button.
Presents the terms-of-service screen inside a navigation controller with a close button.
Definition TermsNavController.h:28
instancetype init()
Builds the controller, its terms view controller, and the close button.
Definition TermsNavController.m:20
TermsViewController * termsViewCtrl
The hosted terms view controller, built in -init .
Definition TermsNavController.h:32
void loadView()
Paints the view's background before it is shown.
Definition TermsNavController.m:53
id< SettingsNavControllerDelegate > settingsDelegate
The owner notified when the screen closes, and forwarded to the hosted controller.
Definition TermsNavController.h:37
void settingClose()
A no-op in this class; the binary's body is empty.
Definition TermsNavController.m:70
A grouped table listing the terms/policy documents, each row opening its target page.
Definition TermsViewController.h:28