
タイマーをつくる

View Controller Sceneを選択して、Editorを選択します。

Navigation Controllerを選択します。


グレーの部分でControl + クリック
表示変更で50%に縮小して作業しやすくする。

View ControllerにLabelとButton2つを配置します。

Bar Button Itemを配置します。

配置した。

素材を配置

Label設定
- Horizontallyを0
- Verticallyを100ポイント上に


Labelの文字を大きく設定

ボタンに背景画像を設定
レイアウトがずれるのでタイトルは空にする。


Costraintを設定

Bar button Iteのタイトル設定。

image viewを幅いっぱいにする

- imageに背景画像を設定
- Content ModeをAspect Fillに設定

bgをDocument Onlineで移動させて背面にする。

image viewのConstraintを設定

View controllerを追加して秒数設定の画面をつくる。


View Controllerを設置したら、画面遷移の設定。
Controlボタンをドラッグしながらドロップして遷移設定を行います。
Showを選択します。

できた!

色鉛筆から選べるとかかわいい。

Picker Viewを配置する。

ボタンも配置した。

プロジェクトフォルダで右クリックで【New File】をクリックします。

Cocoa Touch Classを選択してNextをクリックします。

Classの名前は任意に、Subcalss ofをUIViewControllerを選択して、【Next】をクリックします。


![[MysQL]オンラインDDL](https://www.yuulinux.tokyo/contents/wp-content/uploads/2020/04/mysql_logo-150x150.jpg)
![PHP Factory Methodパターン [PHPによるデザインパターン入門]](https://www.yuulinux.tokyo/contents/wp-content/uploads/2017/09/phpDP_20190407_1-150x150.jpg)


![[Solved] Git Pushでエラー | error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (9/9), 2.30 MiB | 4.19 MiB/s, done. Total 9 (delta 5), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly](https://www.yuulinux.tokyo/contents/wp-content/uploads/2024/06/GitHub-Logo-1-e1718593223403-150x150.png)
