ass='heading'>Advanced Usage</h3>

<p>The following code will define which windows should be automatically themed (<a href="http://themekit.nunogrilo.com/Classes/ThemeManager/WindowThemePolicy.html"><code>WindowThemePolicy</code></a>) and add support for user themes (<a href="http://themekit.nunogrilo.com/Classes/UserTheme.html"><code><a href="Classes/UserTheme.html">UserTheme</a></code></a>):</p>
<h5 id='in-swift' class='heading'>In Swift:</h5>
<pre class="highlight swift"><code><span class="kd">func</span