Amazing video bro, keep it up! we can also add another solution to the first question by using Group view Enclose if&else in a Group view to create a single view Group { if toggle { Text("Hello") } else { Image("star") .resizable() .frame(width: 50, height: 50) } }
Your content is so informative, and I learned a lot from it. Keep up the great work! I’m excited to see your next video.
@mohamedelkilany7334 I'm very happy about that. I will do my best. Thanks for your support
Thank you for the amazing video, it was very informative!
Just a quick note: @ViewBuilder is a property wrapper, not a macro.
@@ahmadkhattab5700 you are right. My bad, thank you for that
Amazing video bro, keep it up!
we can also add another solution to the first question by using Group view
Enclose if&else in a Group view to create a single view
Group {
if toggle {
Text("Hello")
} else {
Image("star")
.resizable()
.frame(width: 50, height: 50)
}
}
@@MohamedRamadanHussien yes right good job my friend