<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masatoshisw20</author_name>
  <author_url>https://blog.hatena.ne.jp/masatoshisw20/</author_url>
  <blog_title>まさとしの自習帳</blog_title>
  <blog_url>https://masatoshisw20.hatenadiary.org/</blog_url>
  <categories>
    <anon>iPhoneDev</anon>
  </categories>
  <description>リファレンスにあたってもUITextFieldのカーソル位置への文字列挿入を見つけられなかったので、クリップボードに文字列突っ込んで、ペーストしてみた。 - (void)insertText:(NSString *)str { UIPasteboard* board = [UIPasteboard generalPasteboard]; // 現在のクリップボードの文字列を保持する NSString *orgStr = board.string; // クリップボードに挿入したい文字列をコピーする [board setString:str]; // UITextField上でペーストする [t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasatoshisw20.hatenadiary.org%2Fentry%2F20100629%2F1277800262&quot; title=&quot;UITextFieldのカーソル位置に文字列を挿入 - まさとしの自習帳&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-06-29 17:31:02</published>
  <title>UITextFieldのカーソル位置に文字列を挿入</title>
  <type>rich</type>
  <url>https://masatoshisw20.hatenadiary.org/entry/20100629/1277800262</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
