Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AFNetworking/AFNetworking
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: codeword/AFNetworking
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 5 files changed
  • 2 contributors

Commits on Jun 6, 2013

  1. Defines protocol to allow for FakeAFHTTPClient implementation

    Jonathan Barnes and Patrick Collins committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    4f097a3 View commit details
    Browse the repository at this point in the history
  2. Adds AFHTTPClientFake to help with testing

    Jonathan Barnes and Patrick Collins committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    bd97729 View commit details
    Browse the repository at this point in the history
  3. Stubs out dispatch_async in specs

    Jonathan Barnes and Patrick Collins committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    b3be4ce View commit details
    Browse the repository at this point in the history
  4. Fake Client simulates more of the response

    Allowing the json operation to parse the response into json.
    Jonathan Barnes and Patrick Collins committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    24135e1 View commit details
    Browse the repository at this point in the history
  5. Removes code attempting to simulate fished state

    For some of the operation classes to properly parse the response the
    operation must be put into the finished state.  This comments out an
    attempt at putting the operation in the finished state.  If you attempt
    to start the operation it will create and start a NSURLconnection which
    you don't want to do.  Currently if you need the operation to be in the
    finshed state you need to reopen the operation class and override the
    -isFinished method to return true.
    
    e.g.
    @interface AFRequestOperation (Spec)
    @EnD
    
    and
    
    @implementation AFRequestOperation (Spec)
    -(BOOL)isFinished { return YES; }
    @EnD
    Johnathon Britz and Jonathan Barnes committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    6cefb79 View commit details
    Browse the repository at this point in the history
  6. Fixes need to call connectionDidFinishLoading

    Aparently it is needed for responses to be parsed.
    Johnathon Britz and Jonathan Barnes committed Jun 6, 2013
    Configuration menu
    Copy the full SHA
    41ec2bc View commit details
    Browse the repository at this point in the history
Loading