<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>questbeat</author_name>
  <author_url>https://blog.hatena.ne.jp/questbeat/</author_url>
  <blog_title>a.out</blog_title>
  <blog_url>https://questbeat.hatenablog.jp/</blog_url>
  <categories>
    <anon>Objective-C</anon>
  </categories>
  <description>NSString には upperCaseString と lowercaseString というメソッドがあり、文字列をそれぞれ大文字・小文字に変換することができます。 では文字列が大文字か小文字かを判別するにはどうすればいいのか気になり調べてみたところ、C の標準ライブラリ関数に isupper() と islower() というものがあるのを見つけました。 こんなふうに使います。 NSString *string = @&quot;Hoge&quot;; unichar c = [string characterAtIndex:0]; // 先頭文字を取り出す if (isupper(c)) { // Up…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquestbeat.hatenablog.jp%2Fentry%2F2014%2F04%2F30%2F104927&quot; title=&quot;Objective-C で大文字・小文字の判別 - a.out&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-30 10:49:27</published>
  <title>Objective-C で大文字・小文字の判別</title>
  <type>rich</type>
  <url>https://questbeat.hatenablog.jp/entry/2014/04/30/104927</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
