Is it possible to write an extension for a specific swift Dictionary ... [String : AnyObject]? <p>I am trying to write an extension for this:</p> <pre><code>extension [String : AnyObject] { } </code></pre> <p>It throws and error. I was also trying to come up with something similar as this:</p> <pre><code>extension Dictionary: [String : AnyObject] { } </code></pre> <p>It also fails.</p> <p>Is there a solution that works similar as this (I can't remember proper syntax)?</p> <pre><code>extension Dictionary where ?? is [String : AnyObject] { } </code></pre>