0
1

More than 3 years have passed since last update.

#6 新規のUIViewControllerのクラスを作る1例

Posted at

はじめに

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

環境

Xcode:11.2.1
Swift:5.1.2
2019/11

part1

ナビゲータバーで右クリックし,New fileを選択する.

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

part2

Cocoa Touch Classを選択する.

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

part3

Class名を書き,SubclassUIViewControllerにする.

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

part4

fileの保存場所をGroupの位置にも注意して指定する.

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

part5

新規のUIViewControllerを選択した状態で,先ほど追加したfileをClassとして指定する.

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

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