AFNetworking ã ReactiveCocoa ã«å¯¾å¿ããããã¤ãä½ã£ãã Podfile ã« pod 'AFNetworking-ReactiveCocoa' ã¨æ¸ãã°ã¤ã³ã¹ãã¼ã«ã§ããã使ãæ¹ã¯ãããªæãï¼ #import <AFNetworking/AFNetworking.h> #import <AFNetworking-ReactiveCocoa/AFNetworking-ReactiveCocoa.h> #import <ReactiveCocoa/ReactiveCocoa.h> - (void)requestAndSubscribe { AFHTTPClient *client = ...; NSURLRequest *request = ...; // Enqueue the request and get a signal. RACSignal *signal
{{#tags}}- {{label}}
{{/tags}}