Need Assistance?

support@tutorialshub.in

Control Flow & Loops

if / else & Ternary Expressions

ADVERTISEMENT
Swift Free Lesson
5 min read
ADVERTISEMENT

In Swift 5.9+, if and switch can also act as expressions that return values directly!

ADVERTISEMENT
Hi, I'm Tuby! Here to help you