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, duration hours minute second in high quality that is uploaded to the channel Sean Allen 30 May 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 11,560 times and liked it 585 visitors.