JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MusicPlaylistCreateViewController.h
Go to the documentation of this file.
1
13
14#import <UIKit/UIKit.h>
15
16NS_ASSUME_NONNULL_BEGIN
17
21@protocol MusicPlaylistCreateViewControllerDelegate <NSObject>
22
23@optional
24
33- (void)musicPlaylistCreateWithName:(nullable NSString *)name;
34
35@end
36
40@interface MusicPlaylistCreateViewController : UIViewController <UITextFieldDelegate>
41
47@property(nonatomic, weak, nullable) id<MusicPlaylistCreateViewControllerDelegate> delegate;
48
59- (instancetype)init;
60
70- (void)loadView;
71
77- (void)fieldChanged:(nullable id)sender;
78
88- (void)tapDone:(nullable id)sender;
89
96- (BOOL)textFieldShouldReturn:(nullable UITextField *)textField;
97
106- (BOOL)textField:(nullable UITextField *)textField
107 shouldChangeCharactersInRange:(NSRange)range
108 replacementString:(nullable NSString *)string;
109
115- (void)viewWillAppear:(BOOL)animated;
116
122- (void)viewDidAppear:(BOOL)animated;
123
129- (void)viewWillDisappear:(BOOL)animated;
130
136- (void)viewDidDisappear:(BOOL)animated;
137
144- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
145
151- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
152
158- (BOOL)shouldAutorotate;
159
160@end
161
162NS_ASSUME_NONNULL_END
163
164// code: language=Objective-C
165// kate: hl Objective-C;
166// vim: set ft=objc :
A modal screen that asks the user to name a new music playlist.
Definition MusicPlaylistCreateViewController.h:40
void loadView()
Builds the view hierarchy by hand.
Definition MusicPlaylistCreateViewController.m:42
UIInterfaceOrientationMask supportedInterfaceOrientations()
The orientations the screen allows.
Definition MusicPlaylistCreateViewController.m:145
BOOL shouldAutorotate()
Whether the screen rotates at all.
Definition MusicPlaylistCreateViewController.m:150
instancetype init()
Builds the controller and its navigation bar.
Definition MusicPlaylistCreateViewController.m:24
id< MusicPlaylistCreateViewControllerDelegate > delegate
The object told which name the user entered.
Definition MusicPlaylistCreateViewController.h:47