---
layout: "default"
title: "DictionaryLiteralConvertible"
description: "Swift documentation for 'DictionaryLiteralConvertible': Conforming types can be initialized with dictionary literals."
keywords: "DictionaryLiteralConvertible,protocol,swift,documentation,Key,Value"
root: "/v2.2"
---

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

<div class="discussion comment">
    <p>Conforming types can be initialized with dictionary literals.</p>
</