<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Kommentare zu: Creating a macOS document based app with SwiftUI and the new App protocol	</title>
	<atom:link href="https://fpposchmann.de/creating-a-macos-document-based-app-with-swiftui-and-the-new-app-protocol/feed/" rel="self" type="application/rss+xml" />
	<link>https://fpposchmann.de/creating-a-macos-document-based-app-with-swiftui-and-the-new-app-protocol/</link>
	<description>Consulting &#38; Software</description>
	<lastBuildDate>Fri, 30 Sep 2022 13:51:47 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>
		Von: Giles		</title>
		<link>https://fpposchmann.de/creating-a-macos-document-based-app-with-swiftui-and-the-new-app-protocol/#comment-14479</link>

		<dc:creator><![CDATA[Giles]]></dc:creator>
		<pubDate>Fri, 30 Sep 2022 13:51:47 +0000</pubDate>
		<guid isPermaLink="false">https://www.fpposchmann.de/?p=640#comment-14479</guid>

					<description><![CDATA[Hi there

Thanks for the post.

I managed to set undoManager on my document using:

@Environment(\.undoManager) var undoManager

And...

.onChange(of: undoManager) { undoManager in
            document.undoManager = undoManager }

...within my ContentView.

Best
Giles]]></description>
			<content:encoded><![CDATA[<p>Hi there</p>
<p>Thanks for the post.</p>
<p>I managed to set undoManager on my document using:</p>
<p>@Environment(\.undoManager) var undoManager</p>
<p>And&#8230;</p>
<p>.onChange(of: undoManager) { undoManager in<br />
            document.undoManager = undoManager }</p>
<p>&#8230;within my ContentView.</p>
<p>Best<br />
Giles</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
