14#import <UIKit/UIKit.h>
16NS_ASSUME_NONNULL_BEGIN
21@protocol MusicPlaylistCreateViewControllerDelegate <NSObject>
33- (void)musicPlaylistCreateWithName:(nullable NSString *)name;
47@property(nonatomic, weak, nullable) id<MusicPlaylistCreateViewControllerDelegate>
delegate;
77- (void)fieldChanged:(nullable id)sender;
88- (void)tapDone:(nullable id)sender;
96- (BOOL)textFieldShouldReturn:(nullable UITextField *)textField;
106- (BOOL)textField:(nullable UITextField *)textField
107 shouldChangeCharactersInRange:(NSRange)range
108 replacementString:(nullable NSString *)
string;
115- (void)viewWillAppear:(BOOL)animated;
122- (void)viewDidAppear:(BOOL)animated;
129- (void)viewWillDisappear:(BOOL)animated;
136- (void)viewDidDisappear:(BOOL)animated;
144- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
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