LoginSignup
1
1

More than 3 years have passed since last update.

【Swift】Table View Controller メモ

Posted at

1. 右上の + ボタン(Library)から、 「Table View Controller」 を選択し、画面を追加する。
最初の画面にする場合、矢印を追加した 「Table View Controller」の左に持ってくる。
スクリーンショット 2020-04-27 20.19.29.png

2. Identifier を設定

3. TableViewController での処理を書く。
  クラスを作る。
  File → New → File → Cocoa Touch Classを選択

4. クラス名を作る。
  「subclass of」 のところは "UITableViewController" になっているのを確認。

5. ファイルを作ったら、このクラスを 「TableViewController」 に紐付ける。

6. 「story board」 で紐付けたい 「TableViewController」 を選択し、
  「show the identity inspector」 から先ほど作ったクラス名を指定。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1