ããã«ã¡ã¯ãiOSã¨ã³ã¸ãã¢ã®åºå¸ã§ãã æ®æ®µã®ã¢ããªéçºã«ããã¦ãããã¯ã¨ã³ããã¼ã ãããââã®ãã¼ã¸ã§â³â³ã®ãã¼ã¿åå¾ããããã«ãªã¯ã¨ã¹ããã¦ããURLã£ã¦ã©ããªã®ï¼ãã¨èããããã¨ãããããã¾ãã ãã®é½åº¦ãAPIãªã¯ã¨ã¹ãã¨ãªã¯ã¨ã¹ãçµæãprintã§è¡¨ç¤ºãããã©ã°ãONã«ãã¦ã¢ããªããã«ãããã¨ãããã¨ããã¦ãããããããªãæéãããã£ã¦ãã¾ããã ãããã£ãä½æ¥ã楽ã«ããããã«ãããã¯ã¼ã¯ãããã°ã©ã¤ãã©ãªãããã¤ãæ¯è¼ãã¦ã¿ã¾ããã ã©ã¤ãã©ãª ResponseDetective https://github.com/netguru/ResponseDetective NSURLSessionã®ãªã¯ã¨ã¹ããã¬ã¹ãã³ã¹ããããã¬ã®ãã°ã«æµãã¦ãããã©ã¤ãã©ãªã§ãã ç¹å¾´ã»å©ç¹ ãã«Swiftã§æ¸ããã¦ãããNSURLProtocolã®ã¡ã½ããã«å²ãè¾¼ãã§ãã°ãè½ã¨ãäºãã§ãã¾ã
{{#tags}}- {{label}}
{{/tags}}