<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekokichi_yos2</author_name>
  <author_url>https://blog.hatena.ne.jp/nekokichi_yos2/</author_url>
  <blog_title>ねこきちのプログラミング墓地</blog_title>
  <blog_url>https://nekokichi2yos2.hatenablog.com/</blog_url>
  <categories>
    <anon>Swift・Xcode</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>どうも、ねこきち（@nekokichi1_yos2）です。 NavigationBarにBarButtonを追加します。 解説 結果 ソースコード 解説 UIBarButtonを代入し、 title（ボタンの文字） style（ボタンの種類） target（処理の対象？） action（ボタン押下時の処理） を設定します。 styleには、 plain done の2種類があり、役割が違うそうです。 let leftback = UIBarButtonItem(title: &quot;キャンセル&quot;, style: .plain, target: self, action: #selector(back…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekokichi2yos2.hatenablog.com%2Fentry%2F2020%2F07%2F26%2F115554&quot; title=&quot;【Swift】NavigationBarにBarButtonを追加 - ねこきちのプログラミング墓地&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nekokichi_yos2/20200726/20200726115452.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-26 11:55:54</published>
  <title>【Swift】NavigationBarにBarButtonを追加</title>
  <type>rich</type>
  <url>https://nekokichi2yos2.hatenablog.com/entry/2020/07/26/115554</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
