zoukankan      html  css  js  c++  java
  • Xcode7.3 beta 新功能

    Xcode7.3 beta 新功能

    Xcode7.3 beta 新功能

    Static Analyser 静态分析增强

    • The static analyzer warns when nil is returned from a method or function with a nonnull return

    type or is passed to a parameter marked nonnull. (19003620) 返回值是否为空检测

    • The static analyzer checks for common misuses of Objective-C generics. (21412472) OC 泛型检测

    • The static analyzer checks for missing localizability. This check is off by default and can be

    enabled by selecting ‘Yes’ for ‘Missing localizability’ in the 'Static Analyzer - Generic Issues’ build

    settings. (23414217) 本地化缺失检查(默认关闭)

    Code Completion 代码补全

    • Code completion provides better matches with fewer keystrokes and makes it easier to find

    what you’re looking for. You can type just the uppercase letters of a method name. Typing

    "myDelegate.tveh”, where myDelegate is a UITableViewDelegate, gives tableView(_

    tableView: UITableView, estimatedHeightForRowAtIndexPath

    indexPath: NSIndexPath) -> CGFloat as the first completion. You’ll also get

    completions that better match your intent, so typing “myView.color”, where myView is a UIView,

    gives every property containing the “color” substring, like “tintColor” and “backgroundColor”.

    (22429862) (难道不用安装插件了?代码提示功能增强.)

    Debugging 调试

    (主要是view层次级别调试增强,想着取代Reveal?)

    • Constraint badges in the View Debugger present values as ratios for better readability when

    applicable. (22535224)

    • The View Debugger inspector shows referenced views, attributes and values for a selected

    constraint. (22266966)

    • The View Debugger shows NSWindow size information in the inspector. (18284986)

    • The View Debugger has additional options for the assistant editor. The implementation file of

    data sources, delegates, and the target of controls can be viewed side by side with the 3D

    canvas of your app’s views. (15777861)

    • When inspecting a view in the debugger, objects with properties whose values represent

    classes such as Target, Delegate, and Data Source will show a navigational arrow in the

    inspector. Click this to open the implementation file of that class. As usual in Xcode, holding

    Option while clicking will perform the requested navigation in the assistant editor, instead of

    replacing the View Debugger canvas. (15884626)

    • 3D rotation behavior in the View Debugger is improved. (18313502)

    • A contextual menu for items selected in the Views mode of the Debug Navigator and the

    Canvas allows you to print the description of an object; focus on a view’s subtree; view

    constraints on an object; and hide views obscuring or obscured by the selected view.

    (20455506)

    • The Views mode of the Debug Navigator allows you to filter the view’s address, label, title, and

    superclass. (23095363)

    undefined
  • 相关阅读:
    抽象类和接口的区别
    Overload和Override的区别
    final和finally和finalize的区别
    C#设计模式学习笔记:简单工厂模式(工厂方法模式前奏篇)
    C#设计模式学习笔记:(1)单例模式
    C#设计模式学习笔记:设计原则
    C#加密与解密(DESRSA)学习笔记
    C# IO流与文件读写学习笔记
    C#序列化与反序列化学习笔记
    C#索引器学习笔记
  • 原文地址:https://www.cnblogs.com/xilifeng/p/5123380.html
Copyright © 2011-2022 走看看