<?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://blog.ch3cooh.jp/</blog_url>
  <categories>
    <anon>開発-Xamarin</anon>
    <anon>iPhone</anon>
  </categories>
  <description>iOSアプリケーション開発で必ず使うと行っても過言ではない関数のひとつにNSLog関数があります。(printf関数のように)変数の値や実行されているメソッド名、ファイル名をコンソールに出力してデバッグに利用します。 Xamarin.iOSでログを出力させてみましょう。ここでは、Xcode上でUIButtonを2つ配置しました。それぞれ、buttonLog、buttonDebugに接続しています。 上のボタンをタップするとoutputLog1メソッドが実行されて、下のボタンをタップするとoutputLog2メソッドが実行されます。 |cs| public override void ViewD…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ch3cooh.jp%2Fentry%2F20130321%2F1363852305&quot; title=&quot;Xamarin.iOSでログを出力する - 酢ろぐ！&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>http://cdn-ak.f.st-hatena.com/images/fotolife/c/ch3cooh393/20130321/20130321164119.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-03-21 16:51:45</published>
  <title>Xamarin.iOSでログを出力する</title>
  <type>rich</type>
  <url>https://blog.ch3cooh.jp/entry/20130321/1363852305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
