<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mojave &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/mojave/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Tue, 02 Mar 2021 18:05:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Join the Dark Side &#8211; Xojo 2018r3 Supports Dark Mode</title>
		<link>https://blog.xojo.com/2018/10/23/join-the-dark-side/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 23 Oct 2018 16:02:04 +0000</pubDate>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[DarkMode]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[Mojave]]></category>
		<category><![CDATA[Xojo IDE]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=5012</guid>

					<description><![CDATA[With the availability of Xojo 2018 Release 3, Xojo now supports macOS Mojave's new dark mode. This means you can update your own apps to support dark mode and it also means that the Xojo IDE works in dark mode.]]></description>
										<content:encoded><![CDATA[<p>With the availability of <a href="https://www.xojo.com/download/">Xojo 2018 Release 3</a>, Xojo now supports macOS Mojave&#8217;s new dark mode. This means you can update your own apps to support dark mode and it also means that the Xojo IDE works in dark mode.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-5062" src="https://blog.xojo.com/wp-content/uploads/2018/10/DarthVaderHalloween.jpg" alt="" width="960" height="720" /></p>
<p>To activate dark mode in Mojave, go to System Preferences, click General and select the &#8220;dark&#8221; appearance. The entire UI will switch to a darker, more muted color scheme which can be easier on the eyes, especially at night.</p>
<p><img decoding="async" class="alignnone size-full wp-image-5070" src="https://blog.xojo.com/wp-content/uploads/2018/10/2018-10-16_11-56-20.png" alt="" width="276" height="84" /></p>
<p>Here is what the Xojo IDE looks like in dark mode:</p>
<p><img decoding="async" class="alignnone size-full wp-image-5098" src="https://blog.xojo.com/wp-content/uploads/2018/10/2018-10-25_09-39-06.png" alt="" width="1481" height="880" /></p>
<p>In order for your apps to support dark mode you&#8217;ll have to rebuild them with Xojo 2018r3 with its support for dark mode. Once you open your project in 2018r3 go to <strong>Shared Build Settings</strong> and turn on the Supports Dark Mode property:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5068" src="https://blog.xojo.com/wp-content/uploads/2018/10/2018-10-16_11-53-56.png" alt="" width="204" height="28" /></p>
<p>Note: This property defaults to OFF for existing projects and ON for new projects.</p>
<p>This will automatically cause the Xojo built-in controls to switch to dark mode when you run your app in dark mode on Mojave. Here is Eddie&#8217;s Electronics running in dark mode:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5069" src="https://blog.xojo.com/wp-content/uploads/2018/10/2018-10-11_12-31-29.png" alt="" width="1053" height="846" /></p>
<p>For your own graphics and custom controls you may need to update your drawing code so that you use darker colors and icons when in dark mode. There is now a new <strong>IsDarkMode</strong> global method that you can check to see if your app is running in dark mode so that you can choose a different color or image.</p>
<p>The <strong>App.AppearanceChanged</strong> event is called when the user switches between light and dark modes or when the accent color changes. You can use this to tell your UI to update or redraw as necessary.</p>
<p>Read more about this change and others coming to Xojo graphics and the IDE in <a href="https://blog.xojo.com/2018/10/24/following-the-dark-path/">this post</a>. To learn how you can update your apps to work in dark mode, refer to the <a href="https://documentation.xojo.com/topics/user_interface/desktop/macos/supporting_macos_dark_mode.html">Dark Mode topic in the documentation</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
