<?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>Uncategorized Archives - Forest and the Trees</title>
	<atom:link href="https://www.forestandthetrees.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.forestandthetrees.com/category/uncategorized/</link>
	<description>iOS Development</description>
	<lastBuildDate>Thu, 11 May 2023 19:02:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2</generator>

<image>
	<url>https://www.forestandthetrees.com/wp-content/uploads/2021/11/cropped-fatt-32x32.png</url>
	<title>Uncategorized Archives - Forest and the Trees</title>
	<link>https://www.forestandthetrees.com/category/uncategorized/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Climate Warming Stripes</title>
		<link>https://www.forestandthetrees.com/uncategorized/climate-warming-stripes/</link>
					<comments>https://www.forestandthetrees.com/uncategorized/climate-warming-stripes/#respond</comments>
		
		<dc:creator><![CDATA[Doug Marttila]]></dc:creator>
		<pubDate>Thu, 11 May 2023 19:02:09 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.forestandthetrees.com/?p=314</guid>

					<description><![CDATA[<p>I released a new app, Climate Warming Stripes.  It&#8217;s an iOS implementation of Warming Stripes, originally developed by Ed Hawkins. You can view global temperature changes over the last 172 years. Changes are shown by color and scale and the app supports both Celsius and Fahrenheit scales. There are four ways to view the data. Rollovers allow [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.forestandthetrees.com/uncategorized/climate-warming-stripes/">Climate Warming Stripes</a> appeared first on <a rel="nofollow" href="https://www.forestandthetrees.com">Forest and the Trees</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I released a new app, <a href="https://www.forestandthetrees.com/climate-warming-stripes/">Climate Warming Stripes</a>. </p>



<p> It&#8217;s an iOS implementation of <a href="https://showyourstripes.info/s/globe">Warming Stripes</a>, originally developed by <a href="http://www.met.reading.ac.uk/~ed/home/index.php">Ed Hawkins</a>.</p>



<p>You can view global temperature changes over the last 172 years. Changes are shown by color and scale and the app supports both Celsius and Fahrenheit scales. There are four ways to view the data. Rollovers allow you to view the temperature change for each year.</p>



<p>You can <a href="https://apps.apple.com/us/app/climate-warming-stripes/id6443764171">download it here</a>.</p>
<p>The post <a rel="nofollow" href="https://www.forestandthetrees.com/uncategorized/climate-warming-stripes/">Climate Warming Stripes</a> appeared first on <a rel="nofollow" href="https://www.forestandthetrees.com">Forest and the Trees</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.forestandthetrees.com/uncategorized/climate-warming-stripes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bready: Bread Baking Timer</title>
		<link>https://www.forestandthetrees.com/uncategorized/bready-mcbreadface/</link>
					<comments>https://www.forestandthetrees.com/uncategorized/bready-mcbreadface/#respond</comments>
		
		<dc:creator><![CDATA[Doug Marttila]]></dc:creator>
		<pubDate>Fri, 28 Jan 2022 19:53:13 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.forestandthetrees.com/?p=172</guid>

					<description><![CDATA[<p>I made another app. It&#8217;s for baking sourdough bread. Bready: Bread Baking Timer steps you through baking sourdough bread. There are six steps with timers: dough rising (90 minutes), oven preheating (30), baking with Dutch-oven cover on (30), baking with cover off (20), 2-minute repeatable check-bread timer, bread resting (40). Bready includes a recipe for [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.forestandthetrees.com/uncategorized/bready-mcbreadface/">Bready: Bread Baking Timer</a> appeared first on <a rel="nofollow" href="https://www.forestandthetrees.com">Forest and the Trees</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I made another app. It&#8217;s for baking sourdough bread.</p>



<p><br>Bready: Bread Baking Timer steps you through baking sourdough bread. There are six steps with timers: dough rising (90 minutes), oven preheating (30), baking with Dutch-oven cover on (30), baking with cover off (20), 2-minute repeatable check-bread timer, bread resting (40). Bready includes a recipe for sourdough bread.</p>



<p><br><a href="http://forestandthetrees.com/bready/">Support page is here</a>. You can <a href="https://apps.apple.com/lv/app/breadymcbreadface/id1601452445">download it here</a>.</p>
<p>The post <a rel="nofollow" href="https://www.forestandthetrees.com/uncategorized/bready-mcbreadface/">Bready: Bread Baking Timer</a> appeared first on <a rel="nofollow" href="https://www.forestandthetrees.com">Forest and the Trees</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.forestandthetrees.com/uncategorized/bready-mcbreadface/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dynamic Alert Package for iOS 13 &#8211; 14</title>
		<link>https://www.forestandthetrees.com/uncategorized/dynamic-alert-package-for-ios-13-14/</link>
					<comments>https://www.forestandthetrees.com/uncategorized/dynamic-alert-package-for-ios-13-14/#respond</comments>
		
		<dc:creator><![CDATA[Doug Marttila]]></dc:creator>
		<pubDate>Mon, 27 Dec 2021 19:36:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Xcode]]></category>
		<guid isPermaLink="false">https://www.forestandthetrees.com/?p=115</guid>

					<description><![CDATA[<p>If you need to create a simple alert popup, read Paul Hudson&#8217;s post. (The post also covers how to create alerts in the newer, iOS-15 way.) I needed a way for a single view to show alerts with one button, with two buttons, and with two buttons and a destructive action (destructive actions are shown [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.forestandthetrees.com/uncategorized/dynamic-alert-package-for-ios-13-14/">Dynamic Alert Package for iOS 13 &#8211; 14</a> appeared first on <a rel="nofollow" href="https://www.forestandthetrees.com">Forest and the Trees</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If you need to create a simple alert popup, <a href="https://www.hackingwithswift.com/quick-start/swiftui/how-to-show-an-alert" type="URL" id="https://www.hackingwithswift.com/quick-start/swiftui/how-to-show-an-alert" class="broken_link">read Paul Hudson&#8217;s post</a>. (The post also covers how to create alerts in the newer, iOS-15 way.)</p>



<p>I needed a way for a single view to show alerts with one button, with two buttons, and with two buttons and a destructive action (destructive actions are shown in red). I came up with a solution for <a href="https://www.forestandthetrees.com/fasty-mcfastface/" data-type="URL" data-id="https://www.forestandthetrees.com/fasty-mcfastface/">Fasty</a>, then I wanted to use it in another project, <a href="https://github.com/dmarttila/AlertPopUp-iOS13" data-type="URL" data-id="https://github.com/dmarttila/AlertPopUp-iOS13">so I put it in a package.</a></p>



<p>To use:</p>



<ol><li>Import the package</li><li>Add &#8220;@State private var alertParams: AlertParams?&#8221; to the view that you want to have the Alert.</li><li>At the bottom of that view, add: &#8220;.modifier(AlertModifier(alertParams: $alertParams))&#8221;</li><li>Add the following (or something similar) to the view: Button(&#8220;Pop up an alert with one button and an action&#8221;) { alertParams = AlertParams(title: &#8220;One Button&#8221;, message: &#8220;One button that calls an action&#8221;, primaryButtonLabel: &#8220;The button label&#8221;) { print(&#8220;The user clicked the Alert button&#8221;) } }</li></ol>



<pre class="wp-block-code"><code lang="swift" class="language-swift line-numbers">import SwiftUI
import AlertPopUp_iOS13

struct ContentView: View {
    @State private var alertParams: AlertParams?
    
    var body: some View {
        VStack {
            Button("Pop up an alert with one button and an action") {
                alertParams = AlertParams(title: "One Button", message: "One button that calls an action", primaryButtonLabel: "The button label") { print("The user clicked the Alert button") }
            }
        }
        .modifier(AlertModifier(alertParams: $alertParams))
        .padding()
    }
}</code></pre>



<p>The <a href="https://github.com/dmarttila/AlertPopUp-iOS13#readme">readMe</a> gives more details. </p>



<p><a href="https://github.com/dmarttila/AlertPopupsUsingPackage">Here&#8217;s a sample project that uses the package.</a></p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.forestandthetrees.com/uncategorized/dynamic-alert-package-for-ios-13-14/">Dynamic Alert Package for iOS 13 &#8211; 14</a> appeared first on <a rel="nofollow" href="https://www.forestandthetrees.com">Forest and the Trees</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.forestandthetrees.com/uncategorized/dynamic-alert-package-for-ios-13-14/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
