---
layout: "default"
title: "MutableCollectionType"
description: "Swift documentation for 'MutableCollectionType': A collection that supports subscript assignment."
keywords: "MutableCollectionType,protocol,swift,documentation,dropFirst,dropLast,filter,forEach,generate,map,prefix,prefixThrough,prefixUpTo,split,suffix,suffixFrom,underestimateCount,count,first,isEmpty,endIndex,startIndex,SubSequence,Generator,Index"
root: "/v2.0"
---

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