LoginSignup
0
1

More than 5 years have passed since last update.

[cocoa][swift]iOSアプリケーション開発入門:はじめの一歩

Last updated at Posted at 2019-04-21

開発環境

  • mac
  • iOS機器

Apple Developer Program

  • https://developer.apple.com/jp/programs/
    • 無料でも開発できますが、有料の登録をお勧めします。

参考資料

  • 無料の"ブック"アプリのSwift Programming Series
  • 日本語ドキュメント
    • https://developer.apple.com/jp/documentation/
  • App Programming Guide for iOS
    • https://developer.apple.com/library/archive/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html

はじめてのアプリケーション

Xcodeを起動し、File / New / Project... を選択する。

NewProject.png

iOS / Single View App を選択する。

SingleViewApp.png

サンプルでは、Product Nameを「HelloWorld」としました。

ProductName.png

ストーリーボードでビューの背景色を設定します。

BGColor.png

「Run」ボタンをクリック(または「Product」>「Run」を実行)して、シミュレータを起動します。

sim.png

設定した背景色で起動します。

ソースコード
GitHubからどうぞ。

https://github.com/murakami/workbook/tree/master/ios/HelloWorld - GitHub

【関連情報】
Cocoa.swift 2019-04

Cocoa.swift

Cocoa勉強会 関東

MOSA

Cocoa練習帳

Qiita

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