zoukankan      html  css  js  c++  java
  • xcode 快捷键

    CMD + SHIFT + {   - Select Next Tab

    CMD + SHIFT + }   - Select Previous Tab

    toggle between .h and .m files in xcode5     CTRL+CMD+up arrow

    在xcode的所有窗口循环切换:       CMD+`

    显示代码中的函数列表:               CTRL+6

    show Project Navigator:          Command + 1

    Show/Hide Navigator Panel: Command + 0

    Show/Hide Utilities Panel: Command + Option + 0

    Open file in Assistant Editor:    Option + Left-click on file in Project Navigator

    Open file Quickly: Command + Shift + O                    (O is char)

    Find Navigator (ie. Search): Command + Shift + F

    Build the app: Command + B

    Run the app: Command + R

    Clean the project: Command + Shift + K

    Documentation and Reference: Command + Shift + 0 (Zero)

    Quick Help: Option + Left-click on class or method name

     

     

    ios 模拟器的快捷键:

    home button:              Cmd-Shift-H

    模拟器中关闭一个app: shift+command+H twice to simulate the double tap of home button, and then swipe your app's screenshot upward to close it.

    -------------------------查看模拟器输出的log-----------------------------------------

    iOS Simulator prints directly to stdout, so you can see the logs mixed up with system logs.

    Open the Terminal and type: tail -f /var/log/system.log

    Then run the simulator.

    EDIT:

    This stopped working on Mavericks/Xcode 5. Now you can access the simulator logs on it's own folder: ~/Library/Logs/iOS Simulator/<sim-version>/system.log

    You can either use the Console.app to see this, or just do a tail (iOS 7.0.3 64 bits for example):

    tail -f ~/Library/Logs/iOS Simulator/7.0.3-64/system.log

    Under iOS 8 this location is now:

    ~/Library/Logs/CoreSimulator/<DEVICE_CODE>
    

    So, the following will work:

    tail -f ~/Library/Logs/CoreSimulator/<DEVICE_CODE>/system.log
    

    The DEVICE_CODE value can be found via the following console command:

    instruments -s devices
    

    -------------------------查看模拟器输出的log end----------------------------------------- 

  • 相关阅读:
    leetcode 202
    C++判断字符是否是元音字母
    [转][图]性能瓶颈分析图
    MySQL的一次优化记录 (IN子查询和索引优化)
    compiz隐藏最大化窗口标题栏
    hyper-v server 2019安装,工作组客户端远程管理
    powershell删除默认共享
    Powershell 更改计算机上的远程桌面的RDP端口
    Windows server 2019 Core安装Exchange 2019
    使用 PowerShell 安装 卸载Microsoft Defender 防病毒
  • 原文地址:https://www.cnblogs.com/welhzh/p/4285425.html
Copyright © 2011-2022 走看看