Old Driver iOS Weekly #254 | 2023-07-31

Original link: https://github.com/SwiftOldDriver/iOS-Weekly/releases/tag/%23254

ios-weekly

The old driver’s iOS weekly report only presents valuable information for you.

You can also contribute to this project. If you find valuable information, articles, tools, etc., you can submit them to us in Issues , and we will deal with them as soon as possible. Remember to write down the reason for the recommendation. Suggestions and comments are also welcome to Issues .

news

List of APIs that require declared reasons now available

@zoeGuo : Apple released a new privacy policy for apps (including SDK) on WWDC23, and there is a separate topic on Get started with privacy manifests . On July 27, Apple released this news, saying: Starting in the fall of 2023, if a newly uploaded application uses a related API that does not provide a privacy list, you will receive an email notification; and from 2024 Beginning in the spring, the privacy checklist will become a mandatory requirement. For the APIs involved and the reasons for their use, please refer to: View list of APIs and approved reasons . If the reason for using is not listed in the list, you can directly submit the specific reason for using it: Submit a request for a new approved reason .

 Developer – design and development accelerator

Apple Vision Pro Developer Lab

@老峰: Apple has set up Vision Pro developer labs in Cupertino, London, Munich, Shanghai, Singapore and Tokyo. Developers can apply to participate in a one-day developer lab, experience visionOS, iPadOS or iOS apps running on Vision Pro, and test and optimize your apps and games with Apple’s support.

“WWDC23 Internal Reference”

This week we updated 5 more internal references, each of which is of very high quality, everyone is welcome to read.

Follow the official account of the old driver technology, reply “2023”, and receive 2023 and previous year’s participation

? WWDC23 10117 – What’s New in App Store Connect

@iHTCboy : This article describes the new features of App Store Connect, including privacy protection, new data types, pre-orders by region, product page optimization, and automation through API. Among them, the TestFlight test, which is only accessible to internal testers, is safe and controllable earlier; pre-orders by region can expand new markets for existing apps; the automation process is realized through API to save time. Finally, it is recommended that developers try new features as soon as possible, optimize product pages, arouse users’ interest, and acquire more users.

? WWDC23 10080 – Building Spatial Experiences with RealityKit

@郭杰騵: This article will introduce how to use Entities and Components in the RealityKit framework to play with 3D models in your visionOS applications, and the newly launched RealityView, combined with RealityKit 3D capabilities and SwiftUI immersive space, brings users an unprecedented experience.

? WWDC23 10165 – What’s new in Xcode 15

@noah : If you want to do a good job, you must first sharpen your tools. Xcode is a must-have development tool for every iOS developer, so the annual Xcode update is closely related to us. This article mainly starts with the update and optimization of Xcode 15 functions, performance, supplemented by Demo demonstration, and shares the exciting updates of Xcode 15. This article will detail the update points of Xcode 15 from the five perspectives of intelligence, simplicity, efficiency, other function updates, and developer precautions. I believe that through the understanding of these update points, you can use Xcode more easily in your daily development work .

? WWDC23 10141 – New App Store server API features

@yt : This article summarizes the new features provided by WWDC23 in the App Store Server API, and provides upgrade guidelines for migrating to the new App Store Server API, whether you are currently using verifyReceipt of App Store Receipts or have already upgraded to the App Store Server API, I believe this article can give you some help.

? WWDC23 10119 – Developing browser plugins for Safari

@gareth Ng: While introducing WWDC 2023 about Safari Web Extension, this article also introduces the update and development of Safari Web Extension from 2020.

Novice recommendation

? Flutter’s threading model and asynchronous principles

@CrazyCoderShi : Flutter application development rarely encounters various multi-threading or multi-process problems like Native. This is related to the event-loop mechanism used in the Dart language, but in fact the Flutter system has thread-like capabilities. That is isolate, isolate has similarities with Native threads or processes, but there are also many differences; this article is produced by the Sohu technical team, explaining all aspects of isolate in detail, and also extends to the principles of various asynchronous mechanisms of Flutter: event-loop, async/await, Future. It can be called a good article full of dry goods and advanced science. The editor strongly recommends students who are using Flutter to learn or review it.

article

?? Precompiled headers

@Leo : C/C++ projects can use precompiled headers to improve compilation speed. Even after C++ modules appeared, precompiled headers still have many application scenarios. This article is an excellent article about precompiled headers. It explains in detail the generation, use, and performance optimization of pch. The explanation is very detailed and recommended reading.

? A First Look at Swift Package Plugins

@含笑饮食食: This article is an introduction to the new feature Package plugins of Swift Package. Package plugins can do many things, such as code formatting, code scanning, automatic generation of multilingual files, etc. Through this article, what are Package plugins? What can Package plugins do? How to use Package plugins? Let you have a detailed understanding of Swift Package plugins, and you can start developing your own Swift Package plugins.

? Building Peak

@极速男孩: “Building Peak” is a blog revealing behind the development of the Peak app. The author builds the app using SwiftUI and The Composable Architecture (TCA), designing various themes and mixing standard and custom UI. Some interesting elements have been added to the app, such as “jiggle mode” and “Slide to Delete/Restore” UI. To simplify the development process, the authors created three companion apps: PeakBuilder (automated uploads to TestFlight), PeakThemer (design themes on-device), and PeakSnapshotter (generate promotional art and App Store screenshots).

tool

? asciiflow

@水水: This tool can draw a simple flowchart, and then select the graphic and paste it into the code comment you want to copy. Readers who like this comment style can try it~

the code

UIGraphicsBeginImageContextWithOptions Deprecated

@Smallfly : UIGraphicsBeginImageContextWithOptions && UIGraphicsEndImageContext image drawing API is marked as obsolete on iOS 17. In Xcode beta 5, if width or height of the drawn image is unexpectedly zero, an Assert will be triggered, and the non-zero size will not be affected temporarily. It is recommended to replace with the latest UIGraphicsImageRenderer API as soon as possible.

? A collection of Metal Shaders

@Cooper Chen : Metallurgy is an open source project that shows how to use Metal on SwiftUI. Through this project, you can better learn and understand Metal development related content and how to combine it with SwiftUI. The project focuses on the shader part of Metal. By reading the code, you can understand how the shader passes data to the view and display it to the user, which can quickly help developers learn more about Metal and how to use it in SwiftUI.

Introduce

Restarted to update the “iOS Reliable Internal Recommendation Topic”, and sorted out the positions that have been clearly recruited recently for your reference

[Beijing] – Baidu Wangpan iOS/Android/FE/Server R&D Engineer

[Guangzhou] WeChat Pay – Client Development – ​​iOS/Android

[Shanghai] Station B – iOS Development

[Shanghai] Baidu Input Method – Client Development – ​​iOS

[Shenzhen/Guangzhou/Beijing/Sanya] Bytedance – Clipping – Recruitment Client Development

For specific information, please go to: https://www.yuque.com/ioalliance/article/bhutav to view (if you have any recruitment needs, please contact iTDriverr)

Follow us

We are “Old Driver Technology Weekly”, a technical public account that continues to pursue high-quality iOS content, welcome to pay attention.

Follow politely, pay attention to [Old Driver Technology Weekly], reply to “2023”, and receive 2023 and previous year’s internal participation

It also supports RSS feeds: https://github.com/SwiftOldDriver/iOS-Weekly/releases.atom .

illustrate

? Indicates that a tool is needed, ? indicates an editor’s recommendation

Estimated reading time: ? Can be read quickly (1 – 10 mins); ? Moderate (10 – 20 mins); ? Slow (20+ mins)

This article is transferred from: https://github.com/SwiftOldDriver/iOS-Weekly/releases/tag/%23254
This site is only for collection, and the copyright belongs to the original author.