<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arcright</author_name>
  <author_url>https://blog.hatena.ne.jp/arcright/</author_url>
  <blog_title>chulip.org</blog_title>
  <blog_url>https://chulip.org/</blog_url>
  <categories>
    <anon>Objective-C</anon>
  </categories>
  <description>今回はCGPointをNSMutableDictionaryに格納しようとして悩んでおりました。 NSArray,NSDictionaryに格納できる値はNSObjectのサブクラスである必要があるそうなのです。 CGPointやCGRect等の構造体はNSObjectのサブクラスではない為そのまま格納はできないようなのです。 そのため格納する際はNSValueを使って格納して取り出す際にCGPoint等の辺りにキャストして使うみたいです。 NSValueはNSObjectのサブクラスではない構造体をオブジェクトとして扱いたい時に使うらしいです。 CGPoint point = CGPoint…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchulip.org%2Fentry%2F2014%2F07%2F07%2F160003&quot; title=&quot;NSArray,NSDictionaryに格納する値はオブジェクトでなければならない - chulip.org&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-07-07 16:00:03</published>
  <title>NSArray,NSDictionaryに格納する値はオブジェクトでなければならない</title>
  <type>rich</type>
  <url>https://chulip.org/entry/2014/07/07/160003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
