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 -

C# WinForm - loading screen -