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

【swift】xcodeの基礎ショートカット/文法

Posted at
  • cmd + R : ビルドラン
  • ctr + E : 行の最後に移動
  • ctr + A : 行の最初に移動
  • cmd + shift + F(O) : プロジェクト内検索
  • cmd + クリック : そこへとぶ
  • ctr + i : インデントの調整(範囲選択が必要)
  • option + クリック : クラスを2画面ひらける
  • cmd + option + / : メソッドのコメント
sample.swift
// 変数
var
// 定数
let
// null
nill
// 数字を文字列に変換  
string(a)
// boolean
var a : Bool = true
// 関数(戻り値->int)
func myFunc(value:Int)->Int{  }
// 画像をセット
let image = UImage(named:Const.LogoImage)
1
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
1
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?