码迷,mamicode.com
首页 > 移动开发 > 详细

Xcode7.3 beta 新功能 https://developer.apple.com/go/?id=xcode-7.3-rn

时间:2016-01-12 11:26:43      阅读:438      评论:0      收藏:0      [点我收藏+]

标签:

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

Xcode7.3 beta 新功能 https://developer.apple.com/go/?id=xcode-7.3-rn

标签:

原文地址:http://www.cnblogs.com/xilifeng/p/5123380.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!