Custom viewDidLoad() Modifier in SwiftUI
// // ViewDidLoadView.swift // BeginerLabelAllDemo // // Created by JOYNAL ABEDIN on 22/10/22. // import SwiftUI struct ViewDidLoadView: View {
Read more// // ViewDidLoadView.swift // BeginerLabelAllDemo // // Created by JOYNAL ABEDIN on 22/10/22. // import SwiftUI struct ViewDidLoadView: View {
Read moreWe can prevent updates using .equatable modifier struct CalendarContainerView: View { @EnvironmentObject var store: CalendarStore var body: some View {
Read moreText(“Hello, World! Hello, World! Hello, World! Hello, World! Hello, World! Hello, World! Hello, World!”) .font(.body) .fontWeight(.semibold) .bold() .underline(true, color: Color.red)
Read moreSwiftUI also allows you to create your own custom modifiers. This can be particularly useful if you have a standard
Read moreThere are number of modifier which we we use for modify our view. We can apply the same modifier to
Read more