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

  • 相关阅读:
    C#使用二叉树算法设计一个无限分级的树表
    程序员写博客这件小事
    jqgrid定义多选操作
    jqgrid如何在一个页面点击按钮后,传递参数到新页面
    MVC 移除复数表名的契约
    [技术分享] .NET下 , 上传图片的处理方式 , 贴上代码 .
    Web应用程序项目以配置使用IIS。未找到Web服务器
    MVC5关联表读取相关表数据
    【转】C# Linq 交集、并集、差集、去重
    .NET MVC3中扩展一个HtmlHelper方法CheckBoxList
  • 原文地址:https://www.cnblogs.com/welhzh/p/4285425.html
Copyright © 2011-2022 走看看