SwiftyPlace Blog

Swiftui onappear fire side effects

SwiftUI View Lifecycle: When onAppear Actually fires

In simple setups — a view behind an if condition, a sheet, a fullscreen cover — onAppear works exactly how you’d expect. Show the view, onAppear fires. Remove it, onDisappear fires. State is gone. Clean and predictable. Then you use TabView. You put a data fetch in onAppear on your … Read more

SwiftUI fonts

SwiftUI

SwiftUI Font and Texts

Learn how to customize Text views in SwiftUI with font. Change font size, weight and appearance like bold, italic, underline, and strickthrough.

Subscribe to My Newsletter

Want the latest iOS development trends and insights delivered to your inbox? Subscribe to our newsletter now!

Newsletter Form