<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/swiftmemomemo/">
    <title>swiftmemomemo @ ウィキ</title>
    <link>http://w.atwiki.jp/swiftmemomemo/</link>
    <atom:link href="https://w.atwiki.jp/swiftmemomemo/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>swiftmemomemo @ ウィキ</description>

    <dc:language>ja</dc:language>
    <dc:date>2019-11-08T13:02:02+09:00</dc:date>
    <utime>1573185722</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/18.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/17.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/16.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/15.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/14.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/13.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/12.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/11.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/10.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/swiftmemomemo/pages/3.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/18.html">
    <title>UIButton</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/18.html</link>
    <description>
      *タイトル変更
 button.setTitle(&quot;xxxxxxxx&quot;, for: .normal)    </description>
    <dc:date>2019-11-08T13:02:02+09:00</dc:date>
    <utime>1573185722</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/17.html">
    <title>CLLocationManager</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/17.html</link>
    <description>
      *plist

    &lt;key&gt;NSLocationAlwaysUsageDescription&lt;/key&gt;
    &lt;string&gt;緯度経度の値を取得する。&lt;/string&gt;
    &lt;key&gt;NSLocationWhenInUseUsageDescription&lt;/key&gt;
    &lt;string&gt;緯度経度の値を取得する。&lt;/string&gt;    </description>
    <dc:date>2019-10-31T23:36:17+09:00</dc:date>
    <utime>1572532577</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/16.html">
    <title>MKMapView</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/16.html</link>
    <description>
      *必須事項
**インポート
import MapKit
**フレームワーク
MapKit.framework
*My Location のラベル変更
 mapView.userLocation.title = &quot;現在位置&quot;
*地図移動
        let location: CLLocation? = nil
        let coordinate = CLLocationCoordinate2D(
            latitude: location?.coordinate.latitude ?? 0,
            longitude: location?.coordinate.longitude ?? 0
        )
        // 縮尺無し
        mapView.setCenter(coordinate, animated: true)
        // 縮尺有り
        mapView.setRegion(MKCoordinateRegion(center: coordinate, span: mapView.region.span), animated: true)
        // メインスレッド有り
        weak var weakSelf = self
        DispatchQueue.main.async {
            weakSelf?.mapView.setRegion(MKCoordinateRegion(center: coordinate, span: weakSelf!.mapView.region.span), animated: true)
        }    </description>
    <dc:date>2019-11-08T21:45:39+09:00</dc:date>
    <utime>1573217139</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/15.html">
    <title>テンプレート</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/15.html</link>
    <description>
      *メインスレッド
    DispatchQueue.main.async {
    
    }    </description>
    <dc:date>2019-10-26T23:41:26+09:00</dc:date>
    <utime>1572100886</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/14.html">
    <title>NSObject</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/14.html</link>
    <description>
      *イニシャライザ
    init() {
        print(&quot;init!!&quot;)
    }

*デイニシャライザ
    deinit {
        print(&quot;deinit!!&quot;)
    }    </description>
    <dc:date>2019-10-25T21:56:34+09:00</dc:date>
    <utime>1572008194</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/13.html">
    <title>UIViewController</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/13.html</link>
    <description>
      *画面消去
 self.dismiss(animated: true, completion: nil)

*NavigationBarのタイトル変更
 // タイトル可変
 self.title = &quot;xxxx&quot;
 // タイトル固定
 self.navigationItem.title = &quot;xxxx&quot;
*NavigationBarのバックボタンのタイトル変更
        // 次の画面のBackボタンを「戻る」に変更
        self.navigationItem.backBarButtonItem = UIBarButtonItem(
            title:  &quot;戻る&quot;,
            style:  .plain,
            target: nil,
            action: nil
        )    </description>
    <dc:date>2019-10-31T22:40:29+09:00</dc:date>
    <utime>1572529229</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/12.html">
    <title>bitbucket</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/12.html</link>
    <description>
      *Gitリモートレポジトリ作成手順（Bitbucket）
**bitbucket上でリモートレポジトリを作成する。
同一名で予めリモートレポジトリを作成しないこと。
**Gitレポジトリ無でXcode上で新規プロジェクトを作成する。
**上記プロジェクトの対象ディレクトリをSourceTreeにD＆Dする。
**SourceTree上で、リモートレポジトリの設定を行う。
設定 -&gt; リモート -&gt; 追加
-リモートの名前
origin
-URL/パス
https://[UserName]@bitbucket.org/[UserName]/[ProjectName].git
-ホスティングサービス
Bitbucket
-ユーザ名
ログインユーザ名
例）
#ref(スクリーンショット 2019-10-31 17.26.18.png)
**SourceTree上で、.gitignoreファイルの設定を行う。
設定 -&gt; 高度な設定 -&gt; 編集

 # Xcode (from gitignore.io)
 build/
 *.pbxuser
 !default.pbxuser
 *.mode1v3
 !default.mode1v3
 *.mode2v3
 !default.mode2v3
 *.perspectivev3
 !default.perspectivev3
 xcuserdata
 *.xccheckout
 *.moved-aside
 DerivedData
 *.hmap
 *.ipa
 *.xcuserstate
 
 # CocoaPod
 Pods/*
 
 # others
 *.swp
 !.gitkeep
 .DS_Store    </description>
    <dc:date>2019-10-31T18:01:39+09:00</dc:date>
    <utime>1572512499</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/11.html">
    <title>UINavigationController</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/11.html</link>
    <description>
      *Navigation Controllerの追加方法
**Navigation Controllerの管理下にしたいViewを選択する。
**メニューから下記のように選択する。
Editor -&gt; Embed In -&gt; NavigationController
(対象となるViewControllerを選択しないと、メニュー項目が有効にならない。）
*同一Storyboardにおける画面遷移（コード有）
**遷移元ViewController上部のアイコンから遷移先のView上まで「control」を押しながらD&amp;Dする。
**segueの種類を選ぶポップアップが表示され、「Show」を選択する。
**画面間にsegueが表示されるので、それをクリックして選択状態にし、identifier（&quot;toNextView&quot;）を設定する。
**下記ソースコードを実装する。
performSegue(withIdentifier: &quot;toTableView&quot;, sender: nil)    </description>
    <dc:date>2019-11-06T17:33:11+09:00</dc:date>
    <utime>1573029191</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/10.html">
    <title>UITableView</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/10.html</link>
    <description>
      *UITableView
**テンプレート

    private var tableItems = [&quot;aaa&quot;, &quot;bbb&quot;, &quot;ccc&quot;]

    override func viewDidLoad() {
        super.viewDidLoad()
        tableView.dataSource = self
        tableView.delegate = self
        tableView.register(UITableViewCell.self, forCellReuseIdentifier: &quot;cell&quot;)
    }

    extension ViewController: UITableViewDataSource {
        
        func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
            return tableItems.count
        }
        
       func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
           let cell = tableView.dequeueReusableCell(withIdentifier: &quot;cell&quot;, for: indexPath)
           cell.textLabel?.text = tableItems[indexPath.row]
           return cell
       }
    }

    extension ViewController: UITableViewDelegate {
   
        func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
            print(tableIte    </description>
    <dc:date>2019-10-21T00:05:58+09:00</dc:date>
    <utime>1571583958</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/swiftmemomemo/pages/3.html">
    <title>右メニュー</title>
    <link>https://w.atwiki.jp/swiftmemomemo/pages/3.html</link>
    <description>
      **更新履歴
#recent(20)


&amp;link_editmenu2(text=ここを編集)
    </description>
    <dc:date>2019-10-12T18:30:35+09:00</dc:date>
    <utime>1570872635</utime>
  </item>
  </rdf:RDF>
