today I realized that the EvernoteSession model in the iOS SDK doesn't handle failed NSURLConnection instances. For example when one tries to submit an authentication request without any internet connection this would be a nice feature.
Simply extend the implementations of the NSURLConnectionDelegate protocol in the EvernoteSession.m file with the following lines.
- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
{
self.completionHandler(error);
}
The completion handler than might be subject to further adjustments for this special case (see http://stackoverflow...6689538/1068052).












