<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ch3cooh393</author_name>
  <author_url>https://blog.hatena.ne.jp/ch3cooh393/</author_url>
  <blog_title>アプリ開発の逆引き辞典</blog_title>
  <blog_url>https://recipe.ch3cooh.net/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>フォントを指定して、文字列が描画されるサイズを求めるのにiOS 6まではsizeWithFont:メソッドとsizeWithFont:constrainedToSize:lineBreakMode:メソッドを使っていました。iOS 7ではこれらのメソッドの使用が非推奨になっています。 - (CGSize)sizeWithFont:(UIFont *)font; - (CGSize)sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size; - (CGSize)sizeWithFont:(UIFont *)font constraine…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frecipe.ch3cooh.net%2Fentry%2F20140424%2F1398309284&quot; title=&quot;文字列を表示するサイズを求めるsizeWithFont:メソッドがiOS 7から非推奨になっているのでワーニングが出ないように置き換える - アプリ開発の逆引き辞典&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>2014-04-24 12:14:44</published>
  <title>文字列を表示するサイズを求めるsizeWithFont:メソッドがiOS 7から非推奨になっているのでワーニングが出ないように置き換える</title>
  <type>rich</type>
  <url>https://recipe.ch3cooh.net/entry/20140424/1398309284</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
