robotmedia/RMStore — pull request #60 by IvanRublev (2014-03-14 11:50:42+00:00)
Title: Watchdog timer for products request. Observer protocol extension & some minor fixes.

About watchdog timer feature.

Watchdog will throw a timeout error in case of network lag on products request. It guarantees fixed time response to customer after his tap on Purchase button for in-app.

I didn't include example in commit but my use case is below.
In my apps after user taps "Purchase" button I show modal activity indicator view then make products request via RMStore. If I've got a products response before watchdog timer fires then there is a big probability that Apple servers will be reachable while payment transaction also. If network is bad I get timeout error from watchdog timer. Then I can choose to dismiss modal activity indicator view and place payment (with network activity indicator as in your example) or show "Try to Retry" message for customer in case of timeout error accordingly.

P.S. Thanks for great library. Keep rocking!