AFNetworking/AFNetworking — pull request #547 by jbrennan (2012-10-02 14:58:51+00:00)
Title: -[AFHTTPClient initWithBaseURL:] will now raise an exception with a nil URL parameter.

What it does
----------------

Modifies `-AFHTTPClient initWithBaseURL:` to raise an exception when the URL passed in is nil. This enforces what the code comments say.

Reachability causes the application to crash on iOS 6 if the baseURL is nil. Exceptions in Cocoa generally used to indicate programmer error, so this exception will help avoid others making this mistake.

To test
---------

Verify the example applications work as before.