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

  • 相关阅读:
    求最小正整数x,A^x=1(mod M)求阶模板
    欧拉函数模板
    高次同余方程模板BabyStep-GiantStep
    Pollard-Rho大整数拆分模板
    Miller-Rabin大素数测试模板
    JSON教程基础
    11.@RequestParam @RequestBody @PathVariable 等参数绑定注解详解
    代码格式化
    使用FireFox插件RESTClient、HttpRequester模拟http(get post)请求
    SpringBoot入门最详细教程
  • 原文地址:https://www.cnblogs.com/welhzh/p/4285425.html
Copyright © 2011-2022 走看看