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 3 years have passed since last update.

SwiftでStoryboardを扱う

Last updated at Posted at 2021-02-01

まえがき

Xcode12.4のSwiftを使ったiOSアプリ開発にて、以前のXcodeと異なることが多かったので記載

新規プロジェクトを作成

  • [File]->[New]->[Project]から新規プロジェクトを作成する
  • Appを選択
  • Product Name: プロジェクト名(今回はprojectとしました)
  • Team: Noneを選択
  • Organization Identifier: アプリ申請時に必要な組織名(ドメインになるように[com.名前]にする)
  • Interface: Storyboardを選択(デフォルトはSwiftUIになっており、変更しないとStoryboardが出てこない)
  • Life Cycle: UIKit App Delegateを選択(デフォルト)
  • Language: Swiftを選択
  • プロジェクト作成完了
     2021-02-01 12.10.02.png

Storyboardを設定

  • Main.Storyboardを選択
  • 左上の[project>]から対象端末のシュミレーターを選択
     2021-02-01 12.24.26.png
  • Storyboard上の左下からも対象端末のシュミレーターを選択(上記で設定した端末に合わせる)
     2021-02-01 15.14.34.png

今回はここまで !


関連記事

1.SwiftでStoryboardを扱う(本記事)
2.StoryboardにUIパーツを設置する
3.画面遷移を行う
4.画面上に画像を表示する方法
5.ImagePickerでカメラロールから写真を選択して表示する
6.PHPickerでカメラロールから写真を選択して表示する

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?