Old Driver iOS Weekly #240 | 2023-04-10

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

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 .

 Developer – design and development accelerator

SwiftUI Technology Salon (Shanghai Station)

This event will be held offline in Shanghai, where you can learn about SwiftUI and connect with the SwiftUI developer community. SwiftUI leverages the power of Swift to help you build great-looking apps on all Apple platforms with minimal code. We will share the core principles of the SwiftUI concept, and invite a number of active developers in the community to share their SwiftUI practical experience with you. Join us now to form the SwiftUI developer community!

Webinar: Supporting External Keyboards in Your iPad App

With a familiar and more tactile experience, an external keyboard can make your iPad apps easier to use and help users get things done faster. In this course, you’ll learn how to support keyboard shortcuts and the main menu system in your iPad app, and explore how to use an external keyboard to make your app easier to navigate and access.

article

? Overview of C++23 Features

@xiaofei86 : Starting from C++11, the standard committee will launch a new C++ version every 3 years. This year, C++23 was also completed as scheduled. Compared with C++20, which introduced important features such as modules, coroutines, and designated constructors, C++23 mainly lies in “perfection”. This article introduces the basic usage of 25 main features of C++23, and will also deeply analyze the principles of some features. Interested students can read the original text to understand.

? Using Critical Alerts in iOS applications – Igor Kulman

@Barney : This article briefly introduces how to use Critical Alerts released in iOS 12 in 2018. We rarely come into contact with it because we need to apply to Apple in order to use it.

? Sharing content in SwiftUI

@Cooper Chen : The author of this article introduces how to share and export the content in the application in a declarative way through the CoreTransferable framework introduced in SwiftUI, which focuses on the description of the ShareLink view. Through the instance of ShareLink, the specified content can be exported To an ordinary string, it also supports data sharing such as images, binary data, or any other custom formats, which is a good reference value for students developing in related scenarios.

? Circular reference caused by calling super in Block

@JonyFang : Introduced two relatively rare Block circular references and provided solutions. main content:

  1. Macro replacement is in the Preprocessed stage, and super is changed in the compile stage, so performing weak/strong dance on self will not solve the circular reference problem caused by super;
  2. At the same time, through the methods of RewriteObjc and Disassembly, the essence of super and Block calls is analyzed from the underlying principle, supplemented by the actual situation of memory and schematic diagrams to facilitate a deeper understanding. Interspersed with knowledge related to objc_msgSend Stub;
  3. Verified a bug in the code generated by RewriteObjc when calling super in Block;

? Network Extension Debugging on macOS

@nianran : The article briefly introduces the method of debugging network extensions on macOS. The author explains in detail from project setup to debugging steps, especially how to attach the Network Extension process in Xcode, and how to use the system console to view related logs. It is very useful for developers who encounter network extension debugging problems~

? New App Store Pricing Mechanism – The Most Complete Version in 2023

@J_Knight_ : On March 9, 2023, Apple officially launched the new App Store pricing mechanism. This article introduces the configuration and rules of the new pricing mechanism in detail through the aspects of custom price, global equilibrium price, benchmark country and region, and regional pricing scheme. Advantages of the new App Store pricing mechanism:

  • In order to provide developers with more pricing options and flexibility, appropriate prices can be set according to different countries or regions, market demands, and consumption capabilities.
  • In order to make it easier for developers to manage factors such as exchange rate fluctuations and tax rate changes to avoid loss of revenue or unfairness.
  • In order to allow users to have more choices and experiences, and increase their interest and satisfaction with the App.

? Group and sort Swift collections like a pro

@水水: This article introduces how to use Swift for professional sorting and grouping. Swift provides powerful methods for grouping and sorting collections:

  • Use Dictionary(grouping:by:) to group by name
  • After grouping, you can use .map and .sorted to sort
  • Implement the sorted method to perform custom sorting

    Readers who are interested in some specific usage methods of the collection can refer to the reference text~

Moyu Weekly

@探鱼周报#89 : The 89th issue of Moyu Weekly is here, let’s take a look at the summary of this issue:

  • Topic of this issue: WWDC 23 Worldwide Developers Conference Date Announced
  • Content recommendation: Recommend some recent excellent blog posts, covering: recording the screen through ReplayKit, using relative proportions for layout in SwiftUI, protecting user privacy in widgets, etc.
  • Touch the fish: the first year of AGI; Microsoft’s research paper on GPT-4; the ChatGPT plug-in that can customize the data source; the domestic open source model ChatGLM

Introduce

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

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 “2021”, and receive 2017/2018/2019/2020 internal reference

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/%23240
This site is only for collection, and the copyright belongs to the original author.