11.2
Xcode 11.2 includes Swift 5.1 and SDKs for iOS 13.2, iPadOS 13.2, tvOS 13.2, watchOS 6.1 ,and macOS Catalina 10.15.1
Xcode 11.2包括Swift 5.1和适用于iOS 13.2,iPadOS 13.2,tvOS 13.2,watchOS 6.1和macOS Catalina 10.15.1的SDK
11.1
Xcode 11.1 includes Swift 5.1 and SDKs ofr iOS 13.1, iPadOS13.1, tvOS13 , watchos6, and macOS Catalina 10.15
Xcode 11.1包括Swift 5.1和iOS 13.1,iPadOS13.1,tvOS13,watchos6和macOS Catalina 10.15的SDK
SwiftUI
......
mac catalyst brings ipad apps to the Mac
......
Swift and Swift packages
......
iOS dark mode
......
Editor
......
Other improvements
......
11.0
Xcode 11 includes Swift 5.1 and SDKs for iOS 13, watchOS 6, and macOS Catalina 10.15
SwiftUI
SwiftUI framework and design tools work together to enable a new way to build user intefaces
Declarative syntax defines your user interface using easy-to-read Swift code
Design tools make it as easy as drag-and-drop to construct and edit your views
Code you write is always in sync with the design and preview canvas
Libary of controls and modifiers make it easy to build complex interfaces
Animations are built using simple commands that describe the action you want to see
Preview your real app running on multiple device types , orientations , and font sizes
Share common code across all Apple platforms , and add custom experiences for each OS
* NOTE:SwiftUI requires iOS 13 , watchOS 6, tvOS 13, or macOS Catalina . To use the SwiftUI design canvas Xcode 11 must be running on macOS Catalina, coming this Fall.
Mac Catalyst brings iPad apps to the Mac
Click a single checkbox in your iPad project to add a native mac app
One project and set of source code creates iPhone, iPad ,and Mac versions of your app
Customize elements of your app for an experience unique to Mac
Add new SwiftUI code to your project along side existing UIKit code
Submit to the Mac App store or notarize for outside distribution
Swift and Swift Packages
Swift packages are supported throughout , including build ,debug, and SCM workflows
Use Swift packages form Github , Bitbucket ,Gitlab , or your own hosts
Download packages automatically based on dependency analysis
Create your own packages to share code among all your apps , or to publish for the community
iOS dark mode
Switch between light and dark mode instantly while developing and debugging
Asset calalog makes it easy to control images and colors for dark and light mode
Editor
Editor minimap gives a bird's eye view of your code so you can quickly jump to any line
Each editor view has its own preview , assistant , or other complementary views
Split any editor pane to layout your workspace exactly as you want
Other improvements
Build stand-alone watchOS apps with a faster debugging experience
Simulator launches quickly and uses the GPU to accelerate Metal code
Test plans give you greater control of your test harness with sharable results bundles
Automatically generate localized screenshots using UI tests as part of your test plan
Source control adds support for stash and cherry-pick operations
Simulate device conditions such as a slow network or thermal warnings while debugging
Metrics tab in the Organizer shows how efficiently your app uns on customer devices
11.0
Xcode 11包括适用于iOS 13,watchOS 6和macOS Catalina 10.15的Swift 5.1和SDK
SwiftUI
SwiftUI框架和设计工具协同工作,以一种新的方式来构建用户界面
声明式语法使用易于阅读的Swift代码定义您的用户界面
使用设计工具,就像拖放一样轻松地构造和编辑视图
您编写的代码始终与设计和预览画布同步
控件和修饰符库可轻松构建复杂的界面
动画是使用简单的命令构建的,这些命令描述了您想要看到的动作
预览运行在多种设备类型,方向和字体大小上的真实应用
在所有Apple平台上共享通用代码,并为每个操作系统添加自定义体验
*注意:SwiftUI需要iOS 13,watchOS 6,tvOS 13或macOS Catalina。要使用SwiftUI设计画布Xcode 11必须在今年秋天推出的macOS Catalina上运行。
Mac Catalyst将iPad应用程序带到Mac
单击您的iPad项目中的一个复选框以添加本机Mac应用程序
一个项目和一组源代码创建应用程序的iPhone,iPad和Mac版本
自定义应用程序元素,以获得Mac独有的体验
将新的SwiftUI代码与现有UIKit代码一起添加到您的项目中
提交到Mac App Store或进行公证以进行外部分发
Swift和Swift软件包
整个过程都支持Swift软件包,包括构建,调试和SCM工作流程
使用Github,Bitbucket,Gitlab或您自己的主机的Swift软件包
根据依赖关系分析自动下载软件包
创建自己的程序包以在所有应用程序之间共享代码,或为社区发布
iOS暗模式
在开发和调试时立即在明暗模式之间切换
资产目录可轻松控制暗和亮模式下的图像和颜色
编辑
编辑器小地图可让您鸟瞰代码,因此您可以快速跳至任意行
每个编辑器视图都有其自己的预览视图,助手视图或其他补充视图
拆分任何编辑器窗格,以完全按照需要布置工作区
其他改进
建立独立的watchOS应用程序,获得更快的调试体验
模拟器快速启动,并使用GPU加速Metal代码
测试计划通过可共享的结果包使您可以更好地控制测试工具
使用UI测试作为测试计划的一部分自动生成本地化的屏幕截图
源代码控制增加了对隐藏和挑选操作的支持
在调试时模拟设备状况,例如缓慢的网络或热警告
管理器中的“指标”标签显示了您的应用在客户设备上的运行效率