michaeltyson/TPKeyboardAvoiding — pull request #107 by CrisRys (2014-07-15 20:21:50+00:00)
Title: put each condition of if on its own statement line to help identify any expression evaluation crash

put each condition of if on its own statement line to help identify any expression evaluation crash
---
Reason for this change was we had an unreproducible SIGSEGV crash reported in TestFlightApp.com that pointed at the line:

- if ( [view isKindOfClass:[UITextField class]] && ((UITextField*)view).returnKeyType == UIReturnKeyDefault && (![(id)view delegate] || [(id)view delegate] == self) ) {

The evaluation is so complex, it is difficult to determine which expression was causing the SIGSEGV. Breaking up the evaluations into separate lines will allow TestFlightApp.com to more precisly identify which expression is causing the SIGSEGV.

Thanks!