<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jitte</author_name>
  <author_url>https://blog.hatena.ne.jp/jitte/</author_url>
  <blog_title>@jitteの日記</blog_title>
  <blog_url>https://jitte.hatenadiary.org/</blog_url>
  <categories>
    <anon>Cocoa</anon>
  </categories>
  <description>メソッドの追加によるクラスの拡張 ここで、「既存のクラスにメソッドを追加」というところに注目してほしい。つまり、これを使うと、いまあるクラスの機能を拡張することができるのだ。自分で定義したクラスに限らず、Cocoaが提供するクラスも含めて、だ。 たとえば、Cocoaで文字列機能を提供するNSStringというクラスがある。このNSStringの機能を、カテゴリでメソッドを追加することで、拡張することができる。 そ、そうだったのか! クラスの乗っ取り Objective-Cには、ポージングという機能がある。これは、一言でいうと、既存のクラスを「乗っ取る」ことができる機能だ。すでにあるクラスを、強…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjitte.hatenadiary.org%2Fentry%2F20070421%2F1177139518&quot; title=&quot; ダイナミックObjective-C - @jitteの日記&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>2007-04-21 16:11:58</published>
  <title> ダイナミックObjective-C</title>
  <type>rich</type>
  <url>https://jitte.hatenadiary.org/entry/20070421/1177139518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
