Skip to content

Instantly share code, notes, and snippets.

@phi-jp
Last active December 19, 2015 07:09
Show Gist options
  • Save phi-jp/5916383 to your computer and use it in GitHub Desktop.
Save phi-jp/5916383 to your computer and use it in GitHub Desktop.
xcode

人気コンボ

コンボ 効果
shift + cmd + o クイックサーチ結果ファイルを分割ビューで表示する。
option + return クイックサーチ結果ファイルを分割ビューで表示する。

社内人気ショートカット一覧

キー 効果
shift + cmd + f Project navigator 内の検索ボックスにフォーカスする
shift + cmd + o カーソル行の単語をクイック検索する
ctrl + 6 メソッドナビゲーション表示。メソッド移動に最適。
ctrl + i インデントを調整する
ctrl + option + cmd + (数字) ユーティリティーエリア下段タブ移動。Runする実機・シミュレータを選択。
ctrl + cmd + ↑ *.h と *.m を切り替える
ctrl + cmd + j メソッド宣言部に移動
cmd + / コメントアウト
cmd + r ビルドして実行
cmd + shift + k クリーン

参考リンク

紹介された際に歓声(?)があがったショートカット

  • xibで、親の下に隠れているUIViewをカーソルキーを使って操作する方法
    • 子のUIViewを選択後、最も外側のUIView(InterfaceBuilderのObjectsナビゲーションの一番最上段のView)を再度マウスで選択。
    • その後カーソルキーで動かすと、あら不思議!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment