0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

#12 Main.storyboardからUITableViewのdelegate先を指定する1例

Last updated at Posted at 2019-11-21

#はじめに
個人のメモ程度の出来なのであまり参考にしないで下さい.

#環境
Xcode:11.2.1
Swift:5.1.2
2019/11

##part1
contrlキーを押しながらUITableViewSecond View Controllerへドラッグ・ドロップする.

スクリーンショット 2019-11-22 午前0.10.16.png

##part2
dataSourcedelegateを選択する.
ただし,1度に2つ選択できない.

スクリーンショット 2019-11-22 午前0.01.16.png

##part3
Second View Controllerを右クリックして下の赤枠のようになっていればOK.

スクリーンショット 2019-11-22 午前0.12.45.png

##part4
後はSecond View Controllerクラスにデリゲートを批准させ,必要なメソッドを書くだけ.

0
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?