n.Name.didChangeTheme</a></code> is sent when current theme did change</li>
<li><code><a href="Extensions/Notification/Name.html#/s:So18NSNotificationNamea8ThemeKitE015didChangeSystemC0ABvpZ">Notification.Name.didChangeSystemTheme</a></code> is sent when system theme did change (System Preference &gt; General)</li>
</ul>

<p>Example:</p>
<pre class="highlight swift"><code><span class="c1">// Register to be notified of theme changes</span>
<span class="kt">NotificationCenter</span><span class="o">.</span><sp