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

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -