Go to https://squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
I love the where keyword in Swift. It cleans ups your code and makes it read much nicer. In this video I'll show you a few common examples of using the where keyword including for loops, finding elements in an array, and protocol extension.
My iOS Dev Courses:
https://seanallen.teachable.com/
My Source Code:
https://seanallen.teachable.com/p/sou...
X (Twitter):
Sean Allen - / seanallen_dev
Hired.com:
https://hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Mark Moeyken’s SwiftUI Books:
https://www.bigmountainstudio.com/a/f...
Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803
RocketSim - Enhance Your Xcode Simulator:
https://gumroad.com/a/51797971/ftvbh
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
https://gumroad.com/a/656585843
Timestamps:
0:00 - Where Keyword - For Loops
1:29 - First Where
3:04 - Contains Where
4:05 - Protocol Extension Constraint
#swift #softwaredeveloper #iosdeveloper
Смотрите видео Clean Swift Code with Where Clause онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Sean Allen 30 Май 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 11,560 раз и оно понравилось 585 посетителям.