3dna/nationbuilder-ios — pull request #24 by hlfcoding (2014-10-31 02:44:34+00:00)
Title: Support automatic reauthentication

Adds initial support for showing the accounts view when any request gets a 401. This required introducing much more additional delegation to existing classes, mostly for the ability to stop the default handling of requests in the event of most types of errors encountered during the process. The client's delegation support is backed by tests that use newly introduced mocking and stubbing from OCMock.