• …NSURLConnectionDelegate`. Replaces #711.
    - added `username` and `password` properties on `SDWebImageDownloader`
    - added `shouldUseCredentialStorage` and `credential` properties on `SDWebImageDownloaderOperation`
    - `SDWebImageDownloaderOperation` conforms to `NSURLConnectionDataDelegate` (it used to implement the methods, but didn't stated the protocol in the declaration)
    - removed deprecated methods: `- connection:canAuthenticateAgainstProtectionSpace:` and `- connection:didReceiveAuthenticationChallenge:` with `- connectionShouldUseCredentialStorage:` and `- connection:willSendRequestForAuthenticationChallenge:`
    - updated demo project to download one image the requires HTTP auth
    by Bogdan Poplauschi
     
    Browse Directory »
  • Unit testing setup + created workspace
    - created a SDWebImage.xcworkspace
    - includes the existing SDWebImage.xcodeproj (responsible of compiling the library)
    - includes the existing SDWebImage Demo.xcodeproj
    - includes the newly created SDWebImage Tests.xcodeproj (tests project). The test project uses the local CocoaPods repo to link to the library
    
    Unit testing backbone:
    - XCTest framework (the one from Apple)
    - XCTestAsync - extension for XCTest that allows easily creating asynchronous tests. Relies on dispatch_after.
    - Expecta - matcher Framework for Objective-C/Cocoa
    
    Updated gitignore
    by Bogdan Poplauschi
     
    Browse Files