---
layout: "default"
title: "SequenceType"
description: "Swift documentation for 'SequenceType': A type that can be iterated with a for...in loop."
keywords: "SequenceType,protocol,swift,documentation,generate,Generator"
root: "/v1.2"
---

<div class="intro-declaration"><code class="language-swift">protocol SequenceType</code></div>

<div class="discussion comment">
    <p>A type that can be iterated with a <code>for</code>...<code>in</code> loop.</p>

<p><code>SequenceType</code> makes no requirement on c