<?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>SceneDelegate &#8211; Frankis Website</title>
	<atom:link href="https://fpposchmann.de/tag/scenedelegate/feed/" rel="self" type="application/rss+xml" />
	<link>https://fpposchmann.de</link>
	<description>Consulting &#38; Software</description>
	<lastBuildDate>Thu, 07 Dec 2023 13:50:20 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://fpposchmann.de/wp-content/uploads/2023/08/cropped-Bildschirmfoto-2023-08-07-um-14.23.35-32x32.png</url>
	<title>SceneDelegate &#8211; Frankis Website</title>
	<link>https://fpposchmann.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Restore Window Size on MacCatalyst Apps</title>
		<link>https://fpposchmann.de/restore-window-size-on-maccatalyst-apps/</link>
					<comments>https://fpposchmann.de/restore-window-size-on-maccatalyst-apps/#respond</comments>
		
		<dc:creator><![CDATA[Frank-Peter Poschmann]]></dc:creator>
		<pubDate>Wed, 06 Dec 2023 09:56:12 +0000</pubDate>
				<category><![CDATA[Swift]]></category>
		<category><![CDATA[MacCatalyst]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[SceneDelegate]]></category>
		<category><![CDATA[UserDefaults]]></category>
		<category><![CDATA[window]]></category>
		<guid isPermaLink="false">https://fpposchmann.de/?p=856</guid>

					<description><![CDATA[Sometimes its easier to just enable MacCatalyst on an iOS app to bring it to the Mac than to fiddle around with a dedicated Mac target or using the Mac version of SwiftUI. The drawback is that you don’t have access to AppKit but have to stick with UIKit / SwiftUI. So some quite useful features of AppKit are not available in MacCatalyst.

E.g. there is this nice AppKit construct to save and restore the window size and position between app launches:

controller.windowFrameAutosaveName = NSWindow.FrameAutosaveName("MyWindow")
But there is no equivalent in MacCatalyst since iOS apps don’t mess around with windows. In this post I’ll show how to achieve a similar behaviour in MacCatalyst.]]></description>
		
					<wfw:commentRss>https://fpposchmann.de/restore-window-size-on-maccatalyst-apps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
