Skip to content

Commit

Permalink
Removing old unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Jul 11, 2018
1 parent 21122a7 commit 3686e3c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions Example/lottie-ios/AnimationExplorerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -154,31 +154,6 @@ - (void)_showURLInput {
}];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:qrVC];
[self presentViewController:nav animated:YES completion:NULL];
return;

UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Load From URL"
message:NULL
preferredStyle:UIAlertControllerStyleAlert];

[alert addTextFieldWithConfigurationHandler:^(UITextField * _Nonnull textField) {
textField.placeholder = @"Enter URL";
}];

UIAlertAction *load = [UIAlertAction actionWithTitle:@"Load" style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
[self _loadAnimationFromURLString:alert.textFields.firstObject.text];
}];

[alert addAction:load];

UIAlertAction *close = [UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {

}];

[alert addAction:close];

[self presentViewController:alert animated:YES completion:nil];
}

- (void)_showJSONExplorer {
Expand Down

0 comments on commit 3686e3c

Please sign in to comment.