sneakyness/AppApp — pull request #75 by henrikhodne (2012-08-16 19:12:46+00:00)
Title: Update network activity indicator handling

Added some concurrency support. If you were to decrement the request
count down to zero, then increment it within 0.5 seconds, the activity
indicator would turn off 0.5 seconds after the decrement.

This implementation uses a timer to delay the hiding (which we want to
avoid flickering), but when the function gets called, it will recheck
the request count, and then act depending on what it is at that time.

@bsneed: Not sure if this is where you want patches for `SDWebService`, but submitting it here as it seems like this is the only public place where it's available. If you'd rather just get a patch through e-mail or somewhere else, do tell.

PS: I couldn't quite figure out what indentation you use, but it looked like you use 4 spaces. If you'd rather have me use tabs, I'll just update the PR.