Original link: https://github.com/SwiftOldDriver/iOS-Weekly/releases/tag/%23205
Hello, everyone, I have been missing for two issues, and the Old Driver Technology Weekly is back. We didn’t run away, but we’ve been busy with WWDC activities for the past two weeks, and we really don’t have the energy to take the time to organize the weekly Orz…
The first event is wwdc.playground. We held an online technical salon event with SwiftGG and T salon. If you don’t catch up, you can go to the “Old Driver Technology” video account to watch the live replay first, and I will write a summary later. to everyone. This event has accumulated a total of tens of thousands of developers all over the network, thank you very much for your support.
The other is “WWDC22 Internal Reference” . In order to surpass the quality of previous years, we have set up a 30-person review team to strictly control the quality . In addition, wwdc.playground has a lot of work in the early stage, so the overall progress is a bit fuller than last year. I hope You can understand~ The current subscription price is 29.9 (less than 50% off), you are welcome to subscribe~ It will continue to be updated in the follow-up, and it is expected that there will be about 80-100 articles.
The old driver 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 it to us in Issues , and we will deal with it as soon as possible. Remember to write the reason for your recommendation. Suggestions and comments are also welcome to Issues .
“WWDC22 Internal Reference”
? 【WWDC22 10127/10131】Using RoomPlan scan to create parametric 3D interior scene
This article will mainly focus on Apple’s new AR/MR API: RoomPlan. The full text is divided into 3 parts:
The first part is a review of Apple’s AR/MR technology development, including an introduction to the principles behind RoomPlan and Object Capture technology.
The second part is an introduction to RoomPlan technology, including how to use the official API, quickly use RoomPlan in your app, and how to customize the use of RoomPlan through the data API.
The final section provides recommendations for AR/MR application design practices.
? 【WWDC22 10025】VisionKit’s machine vision solution, more intelligent capture of text and barcodes
This article will share with you the DataScannerViewController in DataScannerViewController
. Capture text and barcodes from video feeds in real time through a simple Swift API. Will show how to control what the program captures, and how to enable user guidance, highlighting, and more.
Developer – Design Development Accelerator
WWDC22 Lecture Highlights
June 28-29, 2022 (registration deadline June 27)
“ Developer – Design and Development Accelerator” selects the latest technologies announced at WWDC22, and invites Apple design and technology evangelists to bring Chinese developers a collection of Chinese lectures. Through this event, you can learn about the latest technology trends, learn the latest features of the platform, and create a better app experience.
Starting from this event, accelerator events will be open to all Apple Developer Program members (including free users), except as noted separately for special events.
article
?Talk about the calling process of libffi
@xuyafei FFI (Foreign Function Interface) is an interface used to interact with other languages and is one of the main ways to implement cross-language calls. It achieves higher execution efficiency by directly embedding the interfaces of other languages, while at least two independent processes are required to achieve through inter-process communication (IPC) or network communication (RPC, RESTful, etc.).
libffi is the mainstream implementation of ffi, mainly implemented in C and assembly, and is most commonly used as a bridging technology between compiled language and interpreted language implementations. This article starts from the calling process of libffi, and shows you how ffi_call and ffi_closure help us realize dynamic calling.
From reactive programming to combine practice
@zvving : Reactive programming has a long history, and Apple’s Combine is an implementation of the Reactive Streams specification. With the promotion of the official SwiftUI, declarative layout + responsive programming has gradually become popular because of its simplicity, intuitiveness, ease of testing, and ease of reuse. This article is exactly the selection thinking and best practices of the ByteDance Music team to implement responsive programming in large projects, and it is very worthy of reference.
? Phantom types in Swift
@xiangerxiansen : Phantom Types
is a coding technique that allows you to use Swift’s strong typing feature to write safer code. This article introduces some scenarios and techniques for using Phantom Types.
It is recommended to read in conjunction with the following articles:
Recommended by: @swiftcommunity , this article is translated from swiftbysundell.com
?Explore the implementation principle of AutoreleasePool
@漢笑抍Arsenic : Whether it is in the MRC or ARC era, the biggest role of autorelease is to release the memory in advance through decoration while creating a large number of objects, thereby reducing the memory peak. This article aims to understand how the internals are implemented by analyzing the source code.
? Holiday gift: Flutter image library is heavily open sourced
@CrazyCoderShi : Last year, PowerImage, a new generation of image library by Xianyu technical team, has been fully and stably applied to Xianyu after a series of grayscale, problem fixes, and code tuning. Compared with the previous generation IFImage, PowerImage has undergone further evolution, adapted to more business scenarios and the latest flutter features, and solved a series of pain points.
? Auto-generating, Auto-hosting, and Auto-updating DocC Documentation
@SiNiang : After the launch of docc in WWDC 21, it has gradually become a mainstream document generator in the community, but the more troublesome thing when accessing it is that it needs to add docc as a dependency, and it needs to be deployed through GitHub Page or a web server.
The Swift Package Index provides a new feature for this that can automatically deploy and update your docc documentation by simply adding a declaration file to the repository.
The popular Kingfisher in the community has also adopted this method to deploy documents , and everyone who has accessed the PR can also use it for reference.
? ViewBuilder Research
@AidenRao : The author discusses ViewBuilder for building SwiftUI views through two blog posts.
The last article will introduce the implementers behind ViewBuilder – result builders
The next article will further explore the secrets of SwiftUI views by imitating ViewBuilder.
push in
The Old Driver Weekly Team has combined with the Knowledge Collection and the SwiftGG Translation Team to include a reliable internal referral position.
If you want to find a job , click here: https://www.yuque.com/iosalliance/article/bhutav
If you want to recruit , click here: https://www.yuque.com/iosalliance/article/ycyhf3
Of course, you are also welcome to pay attention to each of our weekly reports, and we will update the editorial posts at the bottom of each weekly report in a timely manner.
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 the courtesy, pay attention to [Old Driver Technology], reply to “2022”, and receive WWDC21 and previous internal references
Also supports RSS feeds: https://github.com/SwiftOldDriver/iOS-Weekly/releases.atom .
illustrate
? means a tool is needed, ? means editor’s recommendation
Estimated reading time: ? Read quickly (1 – 10 mins); ? Moderate (10 – 20 mins); ? Slow (20+ mins)
This article is reprinted from: https://github.com/SwiftOldDriver/iOS-Weekly/releases/tag/%23205
This site is for inclusion only, and the copyright belongs to the original author.