当前位置:网站首页>Xcode 14之大变化详细介绍
Xcode 14之大变化详细介绍
2022-07-04 07:15:00 【大熊猫侯佩】

在 WWDC2022 介绍了Xcode 14 之后,现在可以下载到的最新版本是 Xcode 14 beta2。
Apple对最新版的Xcode做了大量的升级和改进。
下面,我们就来一起看看新 Xcode 14 有什么新的功能和增强特性吧。
体积减肥效果显著
新的 Xcode 14 体积减小十分明显,只有 7GB 多一点。而之前 Xcode 13 体积起码也是 10GB 朝上。
Xcode 14 体积减少了足足有 3GB 之多,可谓十分可观。
体积减少意味着下载和安装速度都有不少的提升。
预览(Preview)功能的改进
Xcode 14 中,对于App界面预览功能做了较大改进。

首先,打开预览界面默认即处在运行状态,不用再手动点击运行按钮。
另外,Xcode 14 现在提供更方便的预览界面,让我们一次性检查不同场景下App界面的所有外观。
其中包括:主题颜色、设备屏幕方向、字体大小等。



增强代码补全功能
Xcode 14 对代码编辑器功能做了很多的增强.
现在,自定义结构或类初始化器的形参也会自动补全:
若形参含有默认参数,则会在补全中以斜体淡色文本标明:
寻找方法的调用树也变的更加方便了:
不过,笔者觉得最为方便的一点是:现在Xcode 14直接将SF符号显示集成到了编辑器。
我们再也不用切换到SF符号查看器去查找特定的SF符号了:

编译和链接速度大幅提升
Xcode 14 更改了原先编译和链接路径,现在它们可以更好的利用多核cpu显著提升编译和链接速度。
旧的编译链接系统:
更简洁的新编译链接系统:
Apple称 Xcode 14中链接速度提升2倍,编译速度提升25%,但笔者还并未验证:

同时,Xcode 14新增编译时间线(Build Timeline),可以让开发者找到编译环节中性能的瓶颈点:

查找内存泄漏更准确
Xcode 14 在查找循环引用对象的内存拓扑图时更加准确,大大提高了直接定位到问题代码的概率:

增加模拟器和Scheme过滤和最近使用置顶功能
为了更加方便的选择常用模拟器和Scheme配置,Xcode增加了模拟器(包括Scheme)常用项置顶和内容过滤的功能:


现在,我们切换常用模拟器的速度更快了!
集成TestFlight用户Feedback和Hang功能
为了进一步增进开发者与测试用户的紧密度,Xcode 14现在将TestFlight测试用户反馈功能集成了进来,现在可以直接看到所有测试的反馈问题,一目了然:

另外,Xcode 14新增了Hang问题显示界面,可以将 App运行时所有因操作不当导致 Main 线程缓慢或卡死的问题一一罗列出来,以供检查:
App图标创建流程大幅简化
在Xcode 14中另一个非常有用的功能是:现在我们只需单独提供一张高分辨率的图标图片,即可自动生成所有其它尺寸的图标,你值得拥有。

虽然现在也有众多工具来让我们方便的处理不同尺寸的App图标,但一步到位的感觉不是更好吗?
总结
在本篇博文中,笔者初步总结了 Xcode 14 中众多性能增强和功能更新的内容。虽然在实际体验中也出现了一些小问题,但并不妨碍 Xcode 14 总体上全面改进带来的良好体验。
Xcode 14还有其它更多的更新内容,大家可以到WWDC 22课程中查看。
感谢观赏,再会!
边栏推荐
- 提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像
- Label management of kubernetes cluster
- Responsive - media query
- How to input single quotation marks and double quotation marks in latex?
- Deep profile data leakage prevention scheme
- Paddleocr prompt error: can not import AVX core while this file exists: xxx\paddle\fluid\core_ avx
- [thread pool]
- [FPGA tutorial case 7] design and implementation of counter based on Verilog
- Splicing plain text into JSON strings - easy language method
- Chapter 1 programming problems
猜你喜欢

The cloud native programming challenge ended, and Alibaba cloud launched the first white paper on application liveliness technology in the field of cloud native

tornado项目之路由装饰器

Chain ide -- the infrastructure of the metauniverse

Introduction to rce in attack and defense world

The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)

flask-sqlalchemy 循环引用

响应式移动Web测试题

Introduction to deep learning Ann neural network parameter optimization problem (SGD, momentum, adagrad, rmsprop, Adam)

What is the use of cloud redis? How to use cloud redis?

Adaptive spatiotemporal fusion of multi-target networks for compressed video perception enhancement
随机推荐
BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
[GF (q) + LDPC] regular LDPC coding and decoding design and MATLAB simulation based on the GF (q) field of binary graph
电子协会 C语言 1级 34 、分段函数
The final week, I split
MySQL 45 lecture learning notes (12) MySQL will "shake" for a while
提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像
Campus network problems
【FPGA教程案例8】基于verilog的分频器设计与实现
【FPGA教程案例7】基于verilog的计数器设计与实现
What is the use of cloud redis? How to use cloud redis?
MySQL 45 lecture learning notes (XIV) count (*)
Summary of June 2022
《剑指Offer》第2版——力扣刷题
Enter the year, month, and determine the number of days
Adaptive spatiotemporal fusion of multi-target networks for compressed video perception enhancement
[Android reverse] function interception (use cache_flush system function to refresh CPU cache | refresh CPU cache disadvantages | recommended time for function interception)
测试用例的设计
Cochez une colonne d'affichage dans une colonne de tableau connue
高薪程序员&面试题精讲系列119之Redis如何实现分布式锁?
[web security] nodejs prototype chain pollution analysis