<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rils_k</author_name>
  <author_url>https://blog.hatena.ne.jp/rils_k/</author_url>
  <blog_title>まだどこにもないアプリを作る</blog_title>
  <blog_url>https://rils-k.hatenablog.com/</blog_url>
  <categories>
    <anon>SwiftUI</anon>
    <anon>Xcode</anon>
  </categories>
  <description>↓以前書いたこの記事では 【SwiftUI】TextfieldやText Editorで文字が入力されるごとに検知する方法。 - まだどこにもないアプリを作る バインディングの変数が変わることを検知する onChangeモディファイアを使うことで実装しましたが TextfieldやTextEditorの文字の変数が @ObservedObject変数の場合だとエラーが出てしまうので実装できません その場合は以下の実装になります。 $task.nameはObservedObjectです。 まずCombineをインポートします。 import Combine TextFieldの場合↓ TextF…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frils-k.hatenablog.com%2Fentry%2F2022%2F02%2F11%2F093607&quot; title=&quot;【SwiftUI】TextField TextEditorで文字を打つごとに検知2 - まだどこにもないアプリを作る&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://m.media-amazon.com/images/I/41Y9xvx5vyL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-11 09:36:07</published>
  <title>【SwiftUI】TextField TextEditorで文字を打つごとに検知2</title>
  <type>rich</type>
  <url>https://rils-k.hatenablog.com/entry/2022/02/11/093607</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
