75. Article: When does a SwiftUI Environment get retained?
top of page
Search
Environment is one of SwiftUI's unique features that aren't available in UIKit. This article tells you how to manage the memory of the...
Hui Wang
Nov 14, 20221 min
74. Article: Refactoring Swift: Best Practices to succeed
Every project has to deal with code refactoring. This article gives a brief overview of what to pay attention to when refactoring code...
Hui Wang
Oct 19, 20221 min
73. Article: Apple's use of Swift and SwiftUI in iOS 16
iOS 16 has been released, and this article analyzes the percentage of Apple's built-in apps that use Objective-C, Swift, SwiftUI, and C...
Hui Wang
Oct 17, 20221 min
72. Article: Dynamic Island (and Live Activities): Quick start tutorial
Apple brings the API for Dynamic Island in Xcode 14.1 Beta. Today's article mainly presents how to use the new Live Activities API to...
Hui Wang
Sep 29, 20221 min
71. Article: viewDidLoad() in SwiftUI
If you come from the UIKit world, you might wonder what the viewDidLoad() equivalent method in SwiftUI is. Too bad there is no direct...
Hui Wang
Sep 28, 20221 min
70. Article: Dynamic Island Animation explained
Are you curious about how the animation of Dynamic Island is designed? In this post, the author reproduces the same motion by stacking...
Hui Wang
Sep 22, 20221 min
69. Article: Regex101, an online tool for regular expression debugging
Regex101 is an online tool for regular expression debugging. It provides helpful information to optimize the writing of regular...
Hui Wang
Sep 21, 20221 min
68. Article: What's the "any" keyword? Understanding Type Erasure in Swift
Swift's strong typing is the cornerstone of program robustness. But in the past, in some special scenarios, strong typing brought some...
Hui Wang
Sep 20, 20221 min
67. Article: How to know if ScrollView, List is scrolling
It is very important in some scenarios if you want to know if a scrollable control ( ScrollView, List ) is in a scrolling state. For...
Hui Wang
Sep 18, 20221 min
66. SwiftUI: Introducing RadialGradient
Today I will show you how to use RadialGradient. The RadialGradient starts from the origin and spreads outward with an ellipse. The...
Hui Wang
Sep 18, 20221 min
65. SwiftUI: Introducing AngularGradient
Today I will show you how to use AngularGradient. The start and end points of AngularGradient color gradients are clockwise. Steps:...
Hui Wang
Sep 18, 20221 min
64. SwiftUI: Introducing LinearGradient
Compared with pure color, the gradient can enrich the image and give users a more substantial visual impact. Steps: First, create a Text...
Hui Wang
Sep 16, 20222 min
63. Article: Introducing Dynamic Island on iPhone 14 Pro
The launch of Dynamic Island brings users a new way to interact with the iPhone. It blurs the lines between hardware and software,...
Hui Wang
Sep 14, 20222 min
62. SwiftUI: Introducing Path
Today I will show you how to use Path. Path can draw highly complex graphics, and I'm just showing its basic functions here. Steps:...
Hui Wang
Sep 13, 20221 min
61. CarPlay: Relevant information
Return to "iOS CarPlay audio app development and summary" Car keys and CarPlay. A smarter ride from start to finish....
bottom of page