<pre></pre><pre style="border:0px;font-family:'Courier 10 Pitch', Courier, monospace;font-size:.94444em;margin-top:-2px;margin-bottom:30px;padding:30px;vertical-align:baseline;line-height:1.74706em;max-width:100%;overflow:auto;color:#444444;"><code style="border:0px;font-family:Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;font-size:.94444em;margin:0px;padding:0px;vertical-align:baseline;line-height:1.74706em;">protocol Sequence { typealias GeneratorType : Generator func generate() -> GeneratorType }</code></pre><pre><br></pre><pre>제가 맞게 이해 하고 있는건지 몰라서 질문드립니다. </pre><pre>typealias GeneratorType : Generator 이부분 이해가 정확하지 않은 것 같아서요.</pre><pre>제가 이해한거로는 </pre><pre>"protocol Sequence를 conform하는 class, structure, enumeration은 Generator protocol을 따르는 type의 property를 가지는데 그것의 새로운 type 이름으로 GeneratorType을 가진다. " </pre> <div><br></div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.