Old Driver iOS Weekly #216 | 2022-09-05

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

ios-weekly

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 .

news

? ? Flutter 3.3 officially released

@CrazyCoderShi : Flutter 3.3 is released ???, this is a relatively regular version, mainly new features and optimizations:

  • Framework update
    • Global selection
    • Touchpad operation
    • Scribble function
    • text input
  • Material Design 3 support
  • Desktop platform
    • The version of the Windows desktop app can be set via pubspec.yaml and build parameters
  • development experience
    • VS Code plugin enhancements
    • Flutter Developer Tools Update
  • performance and stability
    • Raster cache improvements
    • Disable iOS memory pointer compression
  • API improvements
    • FragmentProgram Update
    • PlatformDispatcher.onError improvements
    • Layout decimal handling
    • End support for iOS 32-bit devices
    • Stop supporting BitCode ?

In addition, the editor secretly tells you: Skia has been abandoned, and Flutter 3.3 starts to use a new rendering engine: Impeller.

Related Reading:

article

? How to improve iOS build times with modularization

@xiangerxiansen : With the iteration of the business, the complexity of the project code is getting higher and higher. If our application cannot be well structured, it will seriously slow down the compilation speed and affect the development experience. This article introduces the “modularity” approach (which many big manufacturers do), and uses horizontal dependencies (instead of vertical dependencies) between modules to solve this problem.

? Moving “The Swift Programming Language” book to open source

@Smalfly : Swift-DocC is a documentation compiler launched by Apple in 2021, which can generate documentation by compiling comments in source code. Recently, Apple open sourced the source code of Swift official documentation on Github, claiming that Swift-DocC will be used to build documentation based on this repository in the future. Apple expects to work with the open source community to improve Swift-DocC, and expects developers to contribute to official documentation.

To learn more about Swift-DocC, please refer to the internal reference article [ WWDC22 110368/110369 ] New Features of Swift-DocC .

? Cloud Music iOS network image download optimization practice

@J_Knight_ : This article introduces the NetEase Cloud Music team’s picture download optimization scheme: through splicing parameters, cropping and quality compression at the remote end to download different pictures. The specific method is to transform SDWebImageManager and SDImageCache in SDWebImage. The author attaches the code and flow chart to share the specific transformation plan. The team self-tested that this solution increased the download speed of images by 50%, and at the same time saved at least 10% of the bandwidth of the CDN every day.

? Clang Module internal implementation principle and source code analysis

@Damien : This article is from Alibaba’s DingTalk team. In the process of supporting Swift and adapting to Clang Module, the DingTalk team encountered various compilation problems. As a starting point, starting from the parameters provided by the compilation, one step The next step is to dig into the internal implementation principle of Clang Module.

? How do we use SwiftUI in the Medium iOS application

@JimQ : With the nearly four-year iteration of SwiftUI, especially the official version 4.0 coming this month, it seems to indicate that SwiftUI is ready to be used. This article provides an in-depth introduction to the growing usage of SwiftUI in the Medium iOS client, the patterns and usages of some common scenarios, as well as the problems and compromises encountered, which are of great reference value for us to “use” SwiftUI.

? ? Stop Xcode 14 beta from draining your battery

@水水: There is a bug in Xcode14 betas 4~6 that, when running the iOS 16 iPhone simulator, causes a crash loop in the Postboard process, making CPU usage soar and battery drain very fast. Until Apple fixes the problem, the article offers a workaround. And found a solution that doesn’t require downloading an old emulator.

Moyu Weekly

@Moyu Weekly#67 : Hello everyone, the 67th issue of Moyu Weekly is here, let’s take a look at the summary of this issue:

  • Topics in this issue: WWDC22 video now available with simplified Chinese subtitles; Xcode Cloud subscription now available
  • This week’s study: optimization direction of mobile network; related issues of DNS resolution
  • Content recommendation: Some articles related to SwiftUI are recommended
  • Touch the fish: Superhuman 3D pinch people; Swifty Compiler is an app that can write and run Swift code on iPhone/iPad; a command-line version of the computer status manager iStats; a geek-style browser theme YuIndex .

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 Youli, pay attention to [Old Driver Technology Weekly], reply to “2021”, and receive 2017/2018/2019/2020 internal reference

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

Leave a Comment