<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wheatandcat</author_name>
  <author_url>https://blog.hatena.ne.jp/wheatandcat/</author_url>
  <blog_title>wheatandcatの開発ブログ</blog_title>
  <blog_url>https://www.wheatandcat.me/</blog_url>
  <categories>
  </categories>
  <description>概要 前回の記事では、SwiftUI で RSS リーダーを作ってみた。 今回はその拡張として、RSS フィードの表示 / 非表示を切り替える設定を追加したので紹介する。 www.wheatandcat.me PR github.com 追加機能 Config 画面に RSS フィードの表示 / 非表示を切り替えるトグルを追加 設定データの保持には UserDefaults を使用 UserDefaultsとは developer.apple.com UserDefaults はアプリ上のデータを永続的に保存したい時に使用 現状の SwiftUI には AppStorage という、同じくデー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.wheatandcat.me%2Fentry%2F2026%2F01%2F29%2F205304&quot; title=&quot;SwiftUIでMacアプリを作ってみる②：UserDefaultsでデータを保持する - wheatandcatの開発ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/w/wheatandcat/20260129/20260129201532.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-29 20:53:04</published>
  <title>SwiftUIでMacアプリを作ってみる②：UserDefaultsでデータを保持する</title>
  <type>rich</type>
  <url>https://www.wheatandcat.me/entry/2026/01/29/205304</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
