Clean Swift Code with Where Clause

Published: 30 May 2024
on channel: Sean Allen
11,560
585

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


Watch video Clean Swift Code with Where Clause online without registration, duration hours minute second in high quality. This video was added by user Sean Allen 30 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11,560 once and liked it 585 people.