Uploaded May 2024 | Updated September 2026, 21 hours ago
Go to 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:
seanallen.teachable.com/?video=gZa_wZ1GJ8I
My Source Code:
seanallen.teachable.com/p/source-code-youtube-videos?video=gZa_wZ1GJ8I
X (Twitter):
Sean Allen - twitter.com/seanallen_dev
Hired.com:
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:
bigmountainstudio.com/a/fzc51
Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803
RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
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
Go to 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:
seanallen.teachable.com/?video=gZa_wZ1GJ8I
My Source Code:
seanallen.teachable.com/p/source-code-youtube-videos?video=gZa_wZ1GJ8I
X (Twitter):
Sean Allen - twitter.com/seanallen_dev
Hired.com:
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:
bigmountainstudio.com/a/fzc51
Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803
RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
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










