Skip to content

Instantly share code, notes, and snippets.

@mrjeremyt
Created June 27, 2016 15:27
Show Gist options
  • Save mrjeremyt/7ca0da84cb9c4d8c98dcb15da6010dbd to your computer and use it in GitHub Desktop.
Save mrjeremyt/7ca0da84cb9c4d8c98dcb15da6010dbd to your computer and use it in GitHub Desktop.
- (void)viewDidLoad {
[super viewDidLoad];
[self registerKeyboardObservers];
[self initializeDaysOfWeek];
[self initializeSeasons];
[self initializeEpisodes];
[self initializeDelegates];
[self initializeDayTimePicker];
[self setupPickers];
self.outsideKeyboard = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleGesture:)];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(channelSelectionTextFieldDidFinishEditing:) name:@"ChannelSelectionFinished" object:nil];
self.alert = [[UIAlertView alloc] initWithTitle:@"Other Channel" message:@"Enter the channel below" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Done", nil];
self.alert.alertViewStyle = UIAlertViewStylePlainTextInput;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment