---
layout: "default"
title: "UnicodeScalarLiteralConvertible"
description: "Swift documentation for 'UnicodeScalarLiteralConvertible': Conforming types can be initialized with string literals."
keywords: "UnicodeScalarLiteralConvertible,protocol,swift,documentation,UnicodeScalarLiteralType"
root: "/v2.2"
---

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

<div class="discussion comment">
    <p>Conforming types can be initialized with stri