iphone - AFJsonRequestOperaton - How to cancel? -
i interested implement pattern recommended here. looking @ creating nsmutableset , storing afjsonrequestoperations can cancel these requests when view controller has invoked viewdiddisappear.
i looked @ source code afjsonrequestoperation , found out doesn't have public method canceling operation similar nsoperation...
any ideas how can accomplish this?
afjsonrequestoperation subclass of nsoperation, therefore inherits cancel method it.
simply call cancel on operation.
Comments
Post a Comment