---
layout: "default"
title: "_CocoaStringType"
description: "Swift documentation for '_CocoaStringType': Effectively a proxy for NSString that doesn&#39;t mention it by
name.  NSString&#39;s conformance to this protocol is declared in
Foundation."
keywords: "_CocoaStringType,protocol,swift,documentation"
root: "/v2.1"
---

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

<div class="discussion comment">
    <p>Effectively a proxy for NSString that doesn&#3