If Else vs. Switch: The Surprising Winner
Mentoring 👉 https://rebeloper.com/mentoring
In this video, we're comparing the two Swift string operators, if else and switch. We'll look at how they work and which one is best for given conditions.
It can be tough to decide which Swift string operator to use, so let's look at the pros and cons of each one. If else is faster but less flexible, while switch is more flexible but slower. Which one is the best for you? Watch this video to find out!
00:00 INTRO
00:34 SETUP
01:55 IF ELSE EXAMPLE IN SWIFTUI
02:50 SWITCH EXAMPLE IN SWIFTUI
03:03 MENTORING
03:43 SWITCH EXAMPLE CONTINUED
04:36 TERNARY OPERATOR
06:46 WHERE TO GO FROM HERE
→ PLAYLIST:
iOS Development Tutorials 👉 • Senior SwiftUI Developer tries SwiftU...
DO YOU WANT TO ME TO WORK ON YOUR PROJECT?
HIRE ME → https://rebeloper.com/hire-us/
TOOLS I RECOMMEND:
→ https://rebeloper.com/tools
__________
Get in touch:
→ [email protected]
SUBSCRIBE to weekly tips & tutorials for building iOS apps!
→ https://www.youtube.com/rebeloper/?su...
GitHub: https://github.com/rebeloper/
Hire me: https://rebeloper.com/hire-us/
LinkedIn: / rebeloper
My Blog: https://rebeloper.com/blog
Follow me on Instagram: / rebeloper
Twitter: / rebeloper
______
#rebeloper
Смотрите видео If Else vs. Switch: The Surprising Winner онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Rebeloper - Rebel Developer 01 Январь 1970. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 656 раз и оно понравилось 20 посетителям.