This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)showError; | |
{ | |
dispatch_async( dispatch_get_main_queue(), ^ { | |
// Setup error view; these values are visible as it slides into place. | |
_errorView.alpha = finalErrorAlpha; | |
_errorLabel.text = [_error localizedDescription]; | |
// Slide down the error view, with normal alpha. | |
[UIView animateWithDuration: slideDownDuration | |
animations: ^{ | |
CGRect frame = _errorView.frame; |
NewerOlder