a better way to do this would be to return early:
````
BOOL keyboardViewIsHidden = <conditional>;
if (keyboardViewIsHidden) {
    return;
}
````
1. code is more readable
2. you avoid a big block of code inside an `if`
3. you avoid diffs like this, that look like a lot was changed.