Swift 2.2 ã®æ©è½ã§å¤ãã£ãã¨ããããæ©è½é¢ãããããã¨ã§ããã©å ·ä½ä¾ãæ¸ãããããªããæãã¦ã¿ã¾ããã ããããã®ããªã¥ã¼ã æã«ãªã£ãã®ã§ãã¾ãã¯ã©ããªäºæãæ¸ããã¦ãããããã£ããç®æ¡æ¸ãã«ãã¦ããã¾ããç´°ããé¨åã«ã¤ãã¦ã¯ä»¥éã§ãã£ããè¨ãã¦ã¿ã¾ãã æ°æ©è½ ã¯ã©ã¹ã«ããã init? ã init-throws ã§ããããã£ã®åæååé¢è±ãå¯è½ã« ãããã³ã«ã«ãããä»å±åã®æè¨ã associatedtype ã使ãæ¹æ³ã«å¤æ´ AnyGenerator ã AnyGenerator.init(body:) ã使ã£ã¦åæåããæ¹æ³ã«å¤æ´ ã¿ãã«ã«ããã¦ãï¼ã¤ã¾ã§ã®è¦ç´ ãæã¤ã¿ãã«å士ã®æ¯è¼ãå¯è½ã« å¼æ°ã©ãã«åãèæ ®ããé¢æ°ã®åç §ãå¯è½ã« å¼æ°ã©ãã«åã§äºç´èªã®ã»ã¨ãã©ããã®ã¾ã¾ä½¿ç¨å¯è½ã« ArraySlice ã§å é è¦ç´ ãåé¤ããã¨ãã«ã¤ã³ããã¯ã¹ã®ç¯å²ãç¶æãããããã«
{{#tags}}- {{label}}
{{/tags}}