<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griffin-stewie</author_name>
  <author_url>https://blog.hatena.ne.jp/griffin-stewie/</author_url>
  <blog_title>griffin-stewieのブログ</blog_title>
  <blog_url>https://griffin-stewie.hatenablog.com/</blog_url>
  <categories>
    <anon>cocoa</anon>
    <anon>iPhone</anon>
    <anon>iOS</anon>
  </categories>
  <description>最近、頑張って比較してるのにバグっている見たコードをみました。簡単な比較方法を知らない人もいるのかもと思って書いてみます。 たまに求められるバージョン番号比較 何らかの理由でバージョン番号の比較をしたいときってありますよね？○○バージョン以上なら△△するとか。求められる内容によって Class オブジェクトが生成できるかどうか？ respondsToSelector: で期待しているセレクターが呼べるか？ とか方法はいろいろありますが、今回は文字列での比較の話です。 文字列ベースで比較 文字列ベースでのバージョン番号の比較ってどうしてますか？ integerValue とか floatValu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgriffin-stewie.hatenablog.com%2Fentry%2F2013%2F02%2F25%2F084817&quot; title=&quot;簡単なバージョン番号の比較方法 - griffin-stewieのブログ&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>2013-02-25 08:48:17</published>
  <title>簡単なバージョン番号の比較方法</title>
  <type>rich</type>
  <url>https://griffin-stewie.hatenablog.com/entry/2013/02/25/084817</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
