Great articles this week
1. Fixing Image Performance for The Worst iPhone
This is a great talk about optimizing image performance in the iPhone 6s Plus device. During the talk, the speaker mentioned the problems and techniques to improve image performance, such as Caching (Network and disk), Displaying low-resolution images, Solving thread explosion …
2. Typestate - the new Design Pattern in Swift 5.9
Another amazing talk about writing safe code. In the talk, the author presented a great idea that using NonCopyable to make a compiler helps us to protect our logic from misuse.
You should also take a look at the author’s series of blogs about this topic:
3. Strategies to Avoid Parameter Overload: Stop Big-Head Components in SwiftUI
The speaker share strategies to avoid unnecessary parameter expansion, which results in components with a “big head” in complex SwiftUI environments.
Whenever there’s a minor fix to a single parameter, you’re forced to edit the component itself and test all cases to determine potential side effects. More parameters mean more dependencies, ultimately consuming more resources. The speaker’s approach emphasises the strategic use of the declarative framework to separate responsibilities.
4. Intermediate Fastlane
Fastlane is one of my favorite tools when talking about CI CD stuff for iOS applications. When the CI grows, engineers often tend to put all the scripting logic in the Fastfile. That makes the Fastfile too big and hard to read.
This article introduces some advanced techniques to help us write readable and cleaner Fastfile.
5. Good Developer / Great Developer / Exceptional Developer
Without a good team lead to review our work regularly, we’re often stuck at being a good developer.
This article is written by an experienced Engineering Manager about the differences between Good, Great, and Exceptional Engineer from an EM perspective. We can follow this guidance to improve ourselves.