<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>glass-_-onion</author_name>
  <author_url>https://blog.hatena.ne.jp/glass-_-onion/</author_url>
  <blog_title>A Day In The Life</blog_title>
  <blog_url>https://glassonion.hatenablog.com/</blog_url>
  <categories>
    <anon>swift</anon>
    <anon>ios</anon>
  </categories>
  <description>以前、こちらの記事で enum(列挙型)を使って UserDefaults のキー名を管理する方法について紹介しました。この方法を応用(ってほど大袈裟なもんじゃないけど)して Keychain にセキュアなデータを保存してみたいと思います。 Keychainって何？ API アクセスに使う認証用のトークン文字列なんかは UserDefaults じゃなくてもっとセキュアなところに保存する必要があります。そんなときに使うのが Keychain です。詳しい説明は以下の記事が参考になると思いますので以下をご一読ください Keychain Services とは Keychainに文字列を保存する …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fglassonion.hatenablog.com%2Fentry%2F2017%2F02%2F01%2F193910&quot; title=&quot;enum駆使してKeychainをUserDefaultsっぽく使う - A Day In The Life&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/g/glass-_-onion/20170201/20170201151902.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-02-01 19:39:10</published>
  <title>enum駆使してKeychainをUserDefaultsっぽく使う</title>
  <type>rich</type>
  <url>https://glassonion.hatenablog.com/entry/2017/02/01/193910</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
